Class AbstractJCSWorkerHelper<V>

java.lang.Object
org.apache.commons.jcs3.utils.access.AbstractJCSWorkerHelper<V>
All Implemented Interfaces:
JCSWorkerHelper<V>

public abstract class AbstractJCSWorkerHelper<V> extends Object implements JCSWorkerHelper<V>
This is an abstract template for JCSWorkerHelper implementations. it simple has a convenience method for setting the finished flag.
  • Constructor Details

  • Method Details

    • isFinished

      public boolean 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 interface JCSWorkerHelper<V>
      Returns:
      finished
    • setFinished

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

      Specified by:
      setFinished in interface JCSWorkerHelper<V>
      Parameters:
      isFinished -