info.aduna.gee.publication.servlets.async
Class StoreReloader

java.lang.Object
  extended by info.aduna.gee.publication.servlets.async.StoreReloader
All Implemented Interfaces:
FileNames, Runnable

public class StoreReloader
extends Object
implements Runnable, FileNames

StoreReloader coordinately handles 'reloads' due to store.


Field Summary
protected  Vector _doneReloadJobs
           
protected  Vector _reloadJobs
           
protected  Thread _thread
           
 
Fields inherited from interface info.aduna.gee.publication.net.FileNames
ASA_FILE_NAME, BAK_FILE_NAME, CAT_FILE_NAME, CFG_FILE_NAME, CHS_FILE_NAME, DAT_FILE_NAME, HLP_FILE_NAME, LOCAL_FILE_PREFIX, SBS_FILE_NAME, SSS_FILE_NAME, WIF_FILE_NAME
 
Constructor Summary
StoreReloader()
           
 
Method Summary
protected  void _finishAllJobsDone()
           
protected  boolean _handleAJob(StoreReloadJob aJob)
           
 void reload(javax.servlet.http.HttpServletRequest request, String host, String user, String fileName, byte[] fileBytes)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_reloadJobs

protected Vector _reloadJobs

_doneReloadJobs

protected Vector _doneReloadJobs

_thread

protected Thread _thread
Constructor Detail

StoreReloader

public StoreReloader()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

reload

public void reload(javax.servlet.http.HttpServletRequest request,
                   String host,
                   String user,
                   String fileName,
                   byte[] fileBytes)

_handleAJob

protected boolean _handleAJob(StoreReloadJob aJob)
Returns:
true when the job overwrites existing cache contents, false otherwise.

_finishAllJobsDone

protected void _finishAllJobsDone()


Copyright © 1997-2008 Aduna. All Rights Reserved.