Package org.jgroups.util
Class UnbatchOOBBatches
java.lang.Object
org.jgroups.util.SubmitToThreadPool
org.jgroups.util.MaxOneThreadPerSender
org.jgroups.util.UnbatchOOBBatches
- All Implemented Interfaces:
MessageProcessingPolicy
Same as
MaxOneThreadPerSender, but for OOB message batches, every message of the batch is passed to the
thread pool separately (https://issues.redhat.com/browse/JGRP-2800).- Since:
- 5.4, 5.3.7
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jgroups.util.MaxOneThreadPerSender
MaxOneThreadPerSender.BatchHandlerLoop, MaxOneThreadPerSender.Entry, MaxOneThreadPerSender.MessageTableNested classes/interfaces inherited from class org.jgroups.util.SubmitToThreadPool
SubmitToThreadPool.BatchHandler, SubmitToThreadPool.SingleLoopbackHandler, SubmitToThreadPool.SingleMessageHandler, SubmitToThreadPool.SingleMessageHandlerWithClusterName -
Field Summary
Fields inherited from class org.jgroups.util.MaxOneThreadPerSender
max_buffer_size, mcasts, ucastsFields inherited from class org.jgroups.util.SubmitToThreadPool
log, tp, tp_id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(MessageBatch batch, boolean oob) Process a batch received from the transportMethods inherited from class org.jgroups.util.MaxOneThreadPerSender
destroy, dump, init, loopback, process, reset, viewChangeMethods inherited from class org.jgroups.util.SubmitToThreadPool
getTransport, removeAndDispatchNonBundledMessages
-
Constructor Details
-
UnbatchOOBBatches
public UnbatchOOBBatches()
-
-
Method Details
-
process
Description copied from interface:MessageProcessingPolicyProcess a batch received from the transport- Specified by:
processin interfaceMessageProcessingPolicy- Overrides:
processin classMaxOneThreadPerSender- Parameters:
batch- the batchoob- true if the batch contains only OOB messages- Returns:
-