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> SEQUENCER2.BATCH_ACCUMULATORprotected static final BiConsumer<MessageBatch, Message> UNICAST3.BATCH_ACCUMULATORMethods in org.jgroups.protocols with parameters of type MessageBatchModifier and TypeMethodDescriptionprotected SHUFFLEprotected voidSEQUENCER2.deliverBatch(MessageBatch batch) protected voidUNICAST3.deliverBatch(MessageBatch batch) protected voidUNICAST3.handleBatchFromSelf(MessageBatch batch, UNICAST3.Entry entry) protected static intSIZE.numHeaders(MessageBatch batch) 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 static voidSHUFFLE.shuffle(MessageBatch batch) protected longRATE.size(MessageBatch batch) voidASYM_ENCRYPT.up(MessageBatch batch) voidAUTH.up(MessageBatch batch) voidBARRIER.up(MessageBatch batch) voidBATCH.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) voidREVERSE.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) 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.up(MessageBatch batch) voidUNICAST3.up(MessageBatch batch) voidVERIFY_SUSPECT.up(MessageBatch batch) voidVERIFY_SUSPECT2.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_ACCUMULATORMethods in org.jgroups.protocols.pbcast with parameters of type MessageBatchModifier and TypeMethodDescriptionprotected voidNAKACK2.deliverBatch(MessageBatch batch) protected voidNAKACK2.handleMessageBatch(MessageBatch mb) voidFLUSH.up(MessageBatch batch) Deprecated, for removal: This API element is subject to removal in a future version.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.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.tests
Fields in org.jgroups.tests with type parameters of type MessageBatchModifier and TypeFieldDescription(package private) final BiConsumer<Short, MessageBatch> ParseMessages.InnerParseMessages.batch_consumer -
Uses of MessageBatch in org.jgroups.tests.perf
Methods in org.jgroups.tests.perf with parameters of type MessageBatch -
Uses of MessageBatch in org.jgroups.tests.rt.transports
Methods in org.jgroups.tests.rt.transports with parameters of type MessageBatch -
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.clear()MessageBatch.clusterName(AsciiString name) protected MessageBatchMessageBatch.determineMode()SubmitToThreadPool.BatchHandler.getBatch()MessageBatch.mcast(boolean flag) MessageBatch.mode(MessageBatch.Mode m) MessageBatch.multicast(boolean flag) static MessageBatch[]Util.readMessageBatch(DataInput in, boolean multicast, MessageFactory factory) 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 TypeMethodDescriptionintMessageBatch.add(MessageBatch batch) intMessageBatch.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 booleanMaxOneThreadPerSender.Entry.allowedToSubmitToThreadPool(MessageBatch msg_batch) protected static <T> longTable.findHighestSeqno(MessageBatch batch, Function<T, Long> seqno_getter) protected booleanMaxOneThreadPerSender.Entry.process(MessageBatch batch) protected booleanMaxOneThreadPerSender.MessageTable.process(MessageBatch batch) booleanMaxOneThreadPerSender.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) Removes messages with flags DONT_BUNDLE and OOB set and executes them in the oob or internal thread pool.protected booleanMaxOneThreadPerSender.Entry.submit(MessageBatch batch) intMessageBatch.transferFrom(MessageBatch other, boolean clear) Transfers messages from other to this batch.protected booleanMaxOneThreadPerSender.Entry.workAvailable(MessageBatch msg_batch) Called byMaxOneThreadPerSender.BatchHandlerLoop.Constructors in org.jgroups.util with parameters of type MessageBatchModifierConstructorDescriptionBatchHandler(MessageBatch batch) BatchHandlerLoop(MessageBatch batch, MaxOneThreadPerSender.Entry entry, boolean loopback)