Class AbstractRxTask

java.lang.Object
org.apache.catalina.tribes.transport.AbstractRxTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
BioReplicationTask, NioReplicationTask

public abstract class AbstractRxTask extends Object implements Runnable
  • Field Details

    • OPTION_DIRECT_BUFFER

      public static final int OPTION_DIRECT_BUFFER
      See Also:
    • useBufferPool

      protected boolean useBufferPool
  • Constructor Details

  • Method Details

    • setTaskPool

      public void setTaskPool(RxTaskPool pool)
    • setOptions

      public void setOptions(int options)
    • setCallback

      public void setCallback(ListenCallback callback)
    • setDoRun

      @Deprecated public void setDoRun(boolean doRun)
      Deprecated.
      Will be removed in Tomcat 10
      Sets doRun field which is unused.
      Parameters:
      doRun - New value
    • getTaskPool

      public RxTaskPool getTaskPool()
    • getOptions

      public int getOptions()
    • getCallback

      public ListenCallback getCallback()
    • isDoRun

      @Deprecated public boolean isDoRun()
      Deprecated.
      Will be removed in Tomcat 10
      Gets doRun field which is unused.
      Returns:
      Current field value
    • close

      public void close()
    • setUseBufferPool

      public void setUseBufferPool(boolean usebufpool)
    • getUseBufferPool

      public boolean getUseBufferPool()