Class AbstractRxTask
java.lang.Object
org.apache.catalina.tribes.transport.AbstractRxTask
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- BioReplicationTask,- NioReplicationTask
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprotected boolean
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()intbooleanbooleanisDoRun()Deprecated.Will be removed in Tomcat 10voidsetCallback(ListenCallback callback) voidsetDoRun(boolean doRun) Deprecated.Will be removed in Tomcat 10voidsetOptions(int options) voidsetTaskPool(RxTaskPool pool) voidsetUseBufferPool(boolean usebufpool) 
- 
Field Details- 
OPTION_DIRECT_BUFFERpublic static final int OPTION_DIRECT_BUFFER- See Also:
 
- 
useBufferPoolprotected boolean useBufferPool
 
- 
- 
Constructor Details- 
AbstractRxTask
 
- 
- 
Method Details- 
setTaskPool
- 
setOptionspublic void setOptions(int options) 
- 
setCallback
- 
setDoRunDeprecated.Will be removed in Tomcat 10Sets doRun field which is unused.- Parameters:
- doRun- New value
 
- 
getTaskPool
- 
getOptionspublic int getOptions()
- 
getCallback
- 
isDoRunDeprecated.Will be removed in Tomcat 10Gets doRun field which is unused.- Returns:
- Current field value
 
- 
closepublic void close()
- 
setUseBufferPoolpublic void setUseBufferPool(boolean usebufpool) 
- 
getUseBufferPoolpublic boolean getUseBufferPool()
 
-