Class AbstractJCSWorkerHelper<V>
java.lang.Object
org.apache.commons.jcs3.utils.access.AbstractJCSWorkerHelper<V>
- All Implemented Interfaces:
JCSWorkerHelper<V>
This is an abstract template for JCSWorkerHelper implementations. it simple has a convenience
method for setting the finished flag.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells us whether or not the work has been completed.voidsetFinished(boolean isFinished) Sets whether or not the work has been done.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.utils.access.JCSWorkerHelper
doWork
-
Constructor Details
-
AbstractJCSWorkerHelper
public AbstractJCSWorkerHelper()Default
-
-
Method Details
-
isFinished
Description copied from interface:JCSWorkerHelperTells us whether or not the work has been completed. This will be called automatically by JCSWorker. You should not call it yourself.- Specified by:
isFinishedin interfaceJCSWorkerHelper<V>- Returns:
- finished
-
setFinished
Description copied from interface:JCSWorkerHelperSets whether or not the work has been done.- Specified by:
setFinishedin interfaceJCSWorkerHelper<V>- Parameters:
isFinished-
-