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 TypeMethodDescriptionboolean
Tells us whether or not the work has been completed.void
setFinished
(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, wait
Methods inherited from interface org.apache.commons.jcs3.utils.access.JCSWorkerHelper
doWork
-
Constructor Details
-
AbstractJCSWorkerHelper
public AbstractJCSWorkerHelper()Default
-
-
Method Details
-
isFinished
Description copied from interface:JCSWorkerHelper
Tells us whether or not the work has been completed. This will be called automatically by JCSWorker. You should not call it yourself.- Specified by:
isFinished
in interfaceJCSWorkerHelper<V>
- Returns:
- finished
-
setFinished
Description copied from interface:JCSWorkerHelper
Sets whether or not the work has been done.- Specified by:
setFinished
in interfaceJCSWorkerHelper<V>
- Parameters:
isFinished
-
-