Package org.jgroups.util
Class SubmitToThreadPool.BatchHandler
- java.lang.Object
-
- org.jgroups.util.SubmitToThreadPool.BatchHandler
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
MaxOneThreadPerSender.BatchHandlerLoop
- Enclosing class:
- SubmitToThreadPool
public class SubmitToThreadPool.BatchHandler extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageBatch
batch
-
Constructor Summary
Constructors Constructor Description BatchHandler(MessageBatch batch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageBatch
getBatch()
protected void
passBatchUp()
void
run()
-
-
-
Field Detail
-
batch
protected MessageBatch batch
-
-
Constructor Detail
-
BatchHandler
public BatchHandler(MessageBatch batch)
-
-
Method Detail
-
getBatch
public MessageBatch getBatch()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
passBatchUp
protected void passBatchUp()
-
-