Uses of Class
org.jgroups.util.MessageBatch
Packages that use MessageBatch
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of MessageBatch in org.jgroups
Methods in org.jgroups with parameters of type MessageBatchModifier and TypeMethodDescriptiondefault voidReceiver.receive(MessageBatch batch) Called when a batch of messages is receivedJChannel.up(MessageBatch batch) Callback invoked by the protocol stack to deliver a message batchdefault voidUpHandler.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.blocks
Methods in org.jgroups.blocks with parameters of type MessageBatchModifier and TypeMethodDescriptionprotected voidRequestCorrelator.iterate(MessageBatch batch, boolean skip_excluded_msgs, boolean process_reqs, boolean process_rsps) voidRequestCorrelator.receiveMessageBatch(MessageBatch batch) voidMessageDispatcher.ProtocolAdapter.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.fork
Methods in org.jgroups.fork with parameters of type MessageBatch -
Uses of MessageBatch in org.jgroups.protocols
Fields in org.jgroups.protocols with type parameters of type MessageBatchModifier and TypeFieldDescriptionprotected static final BiConsumer<MessageBatch, Message> ReliableMulticast.BATCH_ACCUMULATORprotected static final BiConsumer<MessageBatch, Message> ReliableUnicast.BATCH_ACCUMULATORprotected static final BiConsumer<MessageBatch, Message> SEQUENCER2.BATCH_ACCUMULATORprotected static final BiConsumer<MessageBatch, Message> UNICAST3.BATCH_ACCUMULATORprotected final Map<Address, MessageBatch> ReliableMulticast.cached_batchesprotected final Map<Address, MessageBatch> ReliableUnicast.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841).protected final Map<Address, MessageBatch> UNICAST3.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841)Methods in org.jgroups.protocols with parameters of type MessageBatchModifier and TypeMethodDescriptionprotected voidReliableMulticast.deliverBatch(MessageBatch batch, ReliableMulticast.Entry entry) protected voidReliableUnicast.deliverBatch(MessageBatch batch, ReliableUnicast.Entry entry, Address original_dest) protected voidSEQUENCER2.deliverBatch(MessageBatch batch) protected voidUNICAST3.deliverBatch(MessageBatch batch) protected voidReliableUnicast.handleBatchFromSelf(MessageBatch batch, ReliableUnicast.Entry entry) protected voidUNICAST3.handleBatchFromSelf(MessageBatch batch, UNICAST3.Entry entry) protected voidReliableMulticast.handleMessageBatch(MessageBatch mb) voidTP.passBatchUp(MessageBatch batch, boolean perform_cluster_name_matching, boolean discard_own_mcast) protected voidTP.processBatch(MessageBatch batch, boolean oob) MsgStats.received(MessageBatch batch) protected voidSTATS.received(MessageBatch batch) protected longRATE.size(MessageBatch batch) voidASYM_ENCRYPT.up(MessageBatch batch) voidAUTH.up(MessageBatch batch) voidBARRIER.up(MessageBatch batch) voidBATCH2.up(MessageBatch batch) voidCLEAR_FLAGS.up(MessageBatch batch) voidCOMPRESS.up(MessageBatch batch) voidDELAY.up(MessageBatch batch) voidDH_KEY_EXCHANGE.up(MessageBatch batch) voidDISCARD.up(MessageBatch batch) voidDiscovery.up(MessageBatch batch) voidDROP.up(MessageBatch batch) voidDUPL.up(MessageBatch batch) voidEncrypt.up(MessageBatch batch) voidEXAMPLE.up(MessageBatch batch) voidFailureDetection.up(MessageBatch batch) voidFD_SOCK2.up(MessageBatch batch) voidFlowControl.up(MessageBatch batch) voidFORK.up(MessageBatch batch) voidFRAG.up(MessageBatch batch) voidFRAG2.up(MessageBatch batch) voidFRAG3.up(MessageBatch batch) voidHDRS.up(MessageBatch batch) voidMAKE_BATCH.up(MessageBatch batch) voidMERGE3.up(MessageBatch batch) voidNON_BLOCKING_SENDS.up(MessageBatch batch) voidPERF.up(MessageBatch batch) voidRATE.up(MessageBatch batch) voidRED.up(MessageBatch batch) Deprecated, for removal: This API element is subject to removal in a future version.voidReliableMulticast.up(MessageBatch mb) voidReliableUnicast.up(MessageBatch batch) voidREVERSE.up(MessageBatch batch) voidREVERSE2.up(MessageBatch batch) voidRSVP.up(MessageBatch batch) voidSEQUENCER.up(MessageBatch batch) voidSEQUENCER2.up(MessageBatch batch) voidSERIALIZE.up(MessageBatch batch) voidSHUFFLE.up(MessageBatch batch) voidSIZE.up(MessageBatch batch) voidSIZE2.up(MessageBatch batch) voidSNIFF.up(MessageBatch batch) voidSOS.up(MessageBatch batch) voidSTATS.up(MessageBatch batch) voidSTOMP.up(MessageBatch batch) voidTHREAD_COUNT.up(MessageBatch batch) voidTIME.up(MessageBatch batch) Dividing the delivery time for a batch by the batch size is problematic, e.g.voidTRACE.up(MessageBatch batch) voidUNBATCH_OOB.up(MessageBatch batch) voidUNBATCH.up(MessageBatch batch) voidUNICAST3.up(MessageBatch batch) voidVERIFY_SUSPECT.up(MessageBatch batch) voidVERIFY_SUSPECT2.up(MessageBatch batch) voidVERSION.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast with type parameters of type MessageBatchModifier and TypeFieldDescriptionprotected static final BiConsumer<MessageBatch, Message> NAKACK2.BATCH_ACCUMULATORprotected final Map<Address, MessageBatch> NAKACK2.cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841)Methods in org.jgroups.protocols.pbcast with parameters of type MessageBatchModifier and TypeMethodDescriptionprotected voidNAKACK2.deliverBatch(MessageBatch batch) protected voidNAKACK2.handleMessageBatch(MessageBatch mb) voidGMS.up(MessageBatch batch) voidNAKACK2.up(MessageBatch mb) voidSTABLE.up(MessageBatch batch) voidStreamingStateTransfer.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.protocols.relay
Methods in org.jgroups.protocols.relay with parameters of type MessageBatchModifier and TypeMethodDescriptionvoidRELAY2.up(MessageBatch batch) voidRELAY3.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.stack
Methods in org.jgroups.stack with parameters of type MessageBatchModifier and TypeMethodDescriptionbooleanMessageProcessingPolicy.loopback(MessageBatch batch, boolean oob) booleanMessageProcessingPolicy.process(MessageBatch batch, boolean oob) Process a batch received from the transportvoidProtocol.up(MessageBatch batch) Sends up a multiple messages in aMessageBatch.voidProtocolStack.up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.util
Fields in org.jgroups.util declared as MessageBatchModifier and TypeFieldDescriptionprotected final MessageBatchMaxOneThreadPerSender.Entry.batchprotected MessageBatchSubmitToThreadPool.BatchHandler.batchMethods in org.jgroups.util that return MessageBatchModifier and TypeMethodDescriptionMessageBatch.add(Collection<Message> msgs) Adds message to this batch from a message arrayAdds a message to the tableAdds a message to the tableMessageBatch.add(MessageBatch batch) MessageBatch.add(MessageBatch batch, boolean resize) Adds another batch to this oneMessageBatch.clear()MessageBatch.cluster(AsciiString name) MessageBatch.clusterName(AsciiString name) MessageBatch.determineMode()MessageBatch.incr(int i) MessageBatch.increment(int i) MessageBatch.mcast(boolean flag) MessageBatch.mode(MessageBatch.Mode m) MessageBatch.multicast(boolean flag) static MessageBatch[]Util.readMessageBatch(DataInput in, boolean multicast) Reads a list of messages into 2 MessageBatches: regular OOBMessageBatch.reset()MessageBatch.resize(int new_capacity) MessageBatch.setClusterName(AsciiString name) MessageBatch.setMode(MessageBatch.Mode m) MessageBatch.timestamp(long ts) Methods in org.jgroups.util with parameters of type MessageBatchModifier and TypeMethodDescriptionabstract booleanBuffer.add(MessageBatch batch, Function<T, Long> seqno_getter, boolean remove_from_batch, T const_value) booleanDynamicBuffer.add(MessageBatch batch, Function<T, Long> seqno_getter, boolean remove_from_batch, T const_value) Adds all messages from the given batch to the tablebooleanFixedBuffer.add(MessageBatch batch, Function<T, Long> seqno_getter, boolean remove_from_batch, T const_value) MessageBatch.add(MessageBatch batch) MessageBatch.add(MessageBatch batch, boolean resize) Adds another batch to this onebooleanTable.add(MessageBatch batch, Function<T, Long> seqno_getter) booleanTable.add(MessageBatch batch, Function<T, Long> seqno_getter, boolean remove_from_batch, T const_value) Adds all messages from the given batch to the tableprotected static <T> longDynamicBuffer.findHighestSeqno(MessageBatch batch, Function<T, Long> seqno_getter) protected static <T> longTable.findHighestSeqno(MessageBatch batch, Function<T, Long> seqno_getter) booleanMaxOneThreadPerSender.loopback(MessageBatch batch, boolean oob) booleanPassAllMessagesUpDirectly.loopback(MessageBatch batch, boolean oob) booleanPassRegularMessagesUpDirectly.loopback(MessageBatch batch, boolean oob) booleanSubmitToThreadPool.loopback(MessageBatch batch, boolean oob) static StringUtil.print(MessageBatch batch, boolean print_headers) protected booleanMaxOneThreadPerSender.Entry.process(MessageBatch batch) protected booleanMaxOneThreadPerSender.MessageTable.process(MessageBatch batch) booleanMaxOneThreadPerSender.process(MessageBatch batch, boolean oob) booleanPassAllMessagesUpDirectly.process(MessageBatch batch, boolean oob) booleanPassRegularMessagesUpDirectly.process(MessageBatch batch, boolean oob) booleanSubmitToThreadPool.process(MessageBatch batch, boolean oob) booleanUnbatchOOBBatches.process(MessageBatch batch, boolean oob) protected booleanSubmitToThreadPool.removeAndDispatchNonBundledMessages(MessageBatch oob_batch, boolean loopback) Removes messages with flags DONT_BUNDLE and OOB set and executes them in the oob or internal thread pool.voidProtPerfHelper.setTime(MessageBatch batch) intMessageBatch.transferFrom(MessageBatch other, boolean clear) Transfers messages from other to this batch.voidProtPerfHelper.upTime(MessageBatch batch, Protocol prot) Constructors in org.jgroups.util with parameters of type MessageBatch