org.apache.jcs.utils.access
Class AbstractJCSWorkerHelper

java.lang.Object
  extended byorg.apache.jcs.utils.access.AbstractJCSWorkerHelper
All Implemented Interfaces:
JCSWorkerHelper

public abstract class AbstractJCSWorkerHelper
extends java.lang.Object
implements JCSWorkerHelper

Author:
tsavo

Constructor Summary
AbstractJCSWorkerHelper()
           
 
Method Summary
 boolean isFinished()
          Tells us weather or not the work has been completed.
 void setFinished(boolean isFinished)
          Sets weather or not the work has been done.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.utils.access.JCSWorkerHelper
doWork
 

Constructor Detail

AbstractJCSWorkerHelper

public AbstractJCSWorkerHelper()
Method Detail

isFinished

public boolean isFinished()
Description copied from interface: JCSWorkerHelper
Tells us weather or not the work has been completed. This will be called automatically by JCSWorker. You should not call it yourself.

Specified by:
isFinished in interface JCSWorkerHelper
Returns:
True if the work has allready been done, otherwise false.

setFinished

public void setFinished(boolean isFinished)
Description copied from interface: JCSWorkerHelper
Sets weather or not the work has been done.

Specified by:
setFinished in interface JCSWorkerHelper
Parameters:
isFinished - True if the work has allready been done, otherwise false.


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.