Class AbstractRxTask
java.lang.Object
org.apache.catalina.tribes.transport.AbstractRxTask
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
BioReplicationTask
,NioReplicationTask
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
boolean
boolean
isDoRun()
Deprecated.Will be removed in Tomcat 10void
setCallback
(ListenCallback callback) void
setDoRun
(boolean doRun) Deprecated.Will be removed in Tomcat 10void
setOptions
(int options) void
setTaskPool
(RxTaskPool pool) void
setUseBufferPool
(boolean usebufpool)
-
Field Details
-
OPTION_DIRECT_BUFFER
public static final int OPTION_DIRECT_BUFFER- See Also:
-
useBufferPool
protected boolean useBufferPool
-
-
Constructor Details
-
AbstractRxTask
-
-
Method Details
-
setTaskPool
-
setOptions
public void setOptions(int options) -
setCallback
-
setDoRun
Deprecated.Will be removed in Tomcat 10Sets doRun field which is unused.- Parameters:
doRun
- New value
-
getTaskPool
-
getOptions
public int getOptions() -
getCallback
-
isDoRun
Deprecated.Will be removed in Tomcat 10Gets doRun field which is unused.- Returns:
- Current field value
-
close
public void close() -
setUseBufferPool
public void setUseBufferPool(boolean usebufpool) -
getUseBufferPool
public boolean getUseBufferPool()
-