Uses of Class
org.jgroups.util.MessageBatch
-
Packages that use MessageBatch Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.fork org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.protocols.pbcast org.jgroups.protocols.relay org.jgroups.stack Support for managing protocol stacks.org.jgroups.util 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 MessageBatch Modifier and Type Method Description default voidReceiver. receive(MessageBatch batch)Called when a batch of messages is receivedJChannelJChannel. 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 MessageBatch Modifier and Type Method Description protected 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 Modifier and Type Method Description voidForkProtocolStack. up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.protocols
Fields in org.jgroups.protocols declared as MessageBatch Modifier and Type Field Description protected MessageBatchASYNC.AsyncBatchDispatcher. batchFields in org.jgroups.protocols with type parameters of type MessageBatch Modifier and Type Field Description protected static java.util.function.BiConsumer<MessageBatch,Message>ReliableMulticast. BATCH_ACCUMULATORprotected static java.util.function.BiConsumer<MessageBatch,Message>ReliableUnicast. BATCH_ACCUMULATORprotected static java.util.function.BiConsumer<MessageBatch,Message>SEQUENCER2. BATCH_ACCUMULATORprotected static java.util.function.BiConsumer<MessageBatch,Message>UNICAST3. BATCH_ACCUMULATORprotected java.util.Map<Address,MessageBatch>ReliableMulticast. cached_batchesprotected java.util.Map<Address,MessageBatch>ReliableUnicast. cached_batchesTo cache batches for sending messages up the stack (https://issues.redhat.com/browse/JGRP-2841).protected java.util.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 MessageBatch Modifier and Type Method Description protected 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)MsgStatsMsgStats. received(MessageBatch batch)protected voidSTATS. received(MessageBatch batch)protected longRATE. size(MessageBatch batch)voidASYM_ENCRYPT. up(MessageBatch batch)voidASYNC. up(MessageBatch batch)voidAUTH. up(MessageBatch batch)voidBARRIER. up(MessageBatch batch)voidBATCH. up(MessageBatch batch)Deprecated, for removal: This API element is subject to removal in a future version.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)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)Constructors in org.jgroups.protocols with parameters of type MessageBatch Constructor Description AsyncBatchDispatcher(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast with type parameters of type MessageBatch Modifier and Type Field Description protected static java.util.function.BiConsumer<MessageBatch,Message>NAKACK2. BATCH_ACCUMULATORprotected java.util.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 MessageBatch Modifier and Type Method Description protected 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 MessageBatch Modifier and Type Method Description voidRELAY2. up(MessageBatch batch)voidRELAY3. up(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.stack
Methods in org.jgroups.stack with parameters of type MessageBatch Modifier and Type Method Description booleanMessageProcessingPolicy. 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 MessageBatch Modifier and Type Field Description protected MessageBatchMaxOneThreadPerSender.Entry. batchprotected MessageBatchSubmitToThreadPool.BatchHandler. batchMethods in org.jgroups.util that return MessageBatch Modifier and Type Method Description MessageBatchMessageBatch. add(java.util.Collection<Message> msgs)MessageBatchMessageBatch. add(Message msg)MessageBatchMessageBatch. add(Message[] msgs, int num_msgs)Adds message to this batch from a message arrayMessageBatchMessageBatch. add(Message msg, boolean resize)Adds a message to the tableMessageBatchMessageBatch. add(Message msg, boolean resize, boolean determine_mode)Adds a message to the tableMessageBatchMessageBatch. add(MessageBatch batch)MessageBatchMessageBatch. add(MessageBatch batch, boolean resize)Adds another batch to this oneMessageBatchMessageBatch. clear()MessageBatchMessageBatch. cluster(AsciiString name)MessageBatchMessageBatch. clusterName(AsciiString name)MessageBatchMessageBatch. dest(Address dest)MessageBatchMessageBatch. determineMode()MessageBatchMessageBatch. incr(int i)MessageBatchMessageBatch. increment(int i)MessageBatchMessageBatch. mcast(boolean flag)MessageBatchMessageBatch. mode(MessageBatch.Mode m)MessageBatchMessageBatch. multicast(boolean flag)static MessageBatch[]Util. readMessageBatch(java.io.DataInput in, boolean multicast)Reads a list of messages into 2 MessageBatches: regular OOBMessageBatchMessageBatch. removeIf(java.util.function.Predicate<Message> filter, boolean match_all)MessageBatchMessageBatch. reset()MessageBatchMessageBatch. resize(int new_capacity)MessageBatchMessageBatch. sender(Address sender)MessageBatchMessageBatch. set(Address dest, Address sender, Message[] msgs)MessageBatchMessageBatch. setClusterName(AsciiString name)MessageBatchMessageBatch. setDest(Address dest)MessageBatchMessageBatch. setMode(MessageBatch.Mode m)MessageBatchMessageBatch. setSender(Address sender)MessageBatchMessageBatch. timestamp(long ts)Methods in org.jgroups.util with parameters of type MessageBatch Modifier and Type Method Description abstract booleanBuffer. add(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter, boolean remove_from_batch, T const_value)booleanDynamicBuffer. add(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter, boolean remove_from_batch, T const_value)Adds all messages from the given batch to the tablebooleanFixedBuffer. add(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter, boolean remove_from_batch, T const_value)MessageBatchMessageBatch. add(MessageBatch batch)MessageBatchMessageBatch. add(MessageBatch batch, boolean resize)Adds another batch to this onebooleanTable. add(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter)booleanTable. add(MessageBatch batch, java.util.function.Function<T,java.lang.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, java.util.function.Function<T,java.lang.Long> seqno_getter)protected static <T> longTable. findHighestSeqno(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter)booleanMaxOneThreadPerSender. loopback(MessageBatch batch, boolean oob)booleanSubmitToThreadPool. loopback(MessageBatch batch, boolean oob)static java.lang.StringUtil. print(MessageBatch batch, boolean print_headers)protected booleanMaxOneThreadPerSender.Entry. process(MessageBatch batch, boolean loopback)protected booleanMaxOneThreadPerSender.MessageTable. process(MessageBatch batch, boolean loopback)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, 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 Constructor Description BatchHandler(MessageBatch batch, boolean loopback)
-