org.apache.jcs.utils.access
Class AbstractJCSWorkerHelper

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

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

This is an abstract template for JCSWorkerHelper implementations. it simple has a convenience method for setting the finished flag.

Author:
tsavo

Constructor Summary
AbstractJCSWorkerHelper()
          Default
 
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()
Default

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:
finished

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 -


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