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.tests org.jgroups.tests.perf org.jgroups.tests.rt.transports 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 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 with type parameters of type MessageBatch Modifier and Type Field Description protected static java.util.function.BiConsumer<MessageBatch,Message>SEQUENCER2. BATCH_ACCUMULATORprotected static java.util.function.BiConsumer<MessageBatch,Message>UNICAST3. BATCH_ACCUMULATORMethods in org.jgroups.protocols with parameters of type MessageBatch Modifier and Type Method Description protected SHUFFLESHUFFLE. add(java.util.List<Message> queue, MessageBatch batch, java.util.concurrent.locks.Lock lock, java.util.function.Consumer<Message> send_function)protected 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)protected static voidSHUFFLE. shuffle(MessageBatch batch)voidASYM_ENCRYPT. up(MessageBatch batch)voidAUTH. up(MessageBatch batch)voidBARRIER. up(MessageBatch batch)voidBATCH. up(MessageBatch batch)voidBATCH2. 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)voidPERF. 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)voidTIME. up(MessageBatch batch)voidTRACE. 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 MessageBatch Modifier and Type Field Description protected static java.util.function.BiConsumer<MessageBatch,Message>NAKACK2. BATCH_ACCUMULATORMethods 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)voidFLUSH. up(MessageBatch batch)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) -
Uses of MessageBatch in org.jgroups.stack
Methods in org.jgroups.stack with parameters of type MessageBatch Modifier and Type Method Description 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.tests
Fields in org.jgroups.tests with type parameters of type MessageBatch Modifier and Type Field Description (package private) java.util.function.BiConsumer<java.lang.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 Modifier and Type Method Description voidMPerf. receive(MessageBatch batch) -
Uses of MessageBatch in org.jgroups.tests.rt.transports
Methods in org.jgroups.tests.rt.transports with parameters of type MessageBatch Modifier and Type Method Description voidJGroupsTransport. receive(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(Message msg)MessageBatchMessageBatch. clear()MessageBatchMessageBatch. clusterName(AsciiString name)MessageBatchMessageBatch. dest(Address dest)protected MessageBatchMessageBatch. determineMode()protected MessageBatchMessageBatch. determineMode(Message msg)MessageBatchSubmitToThreadPool.BatchHandler. getBatch()MessageBatchMessageBatch. mode(MessageBatch.Mode mode)MessageBatchMessageBatch. multicast(boolean flag)static MessageBatch[]Util. readMessageBatch(java.io.DataInput in, boolean multicast, MessageFactory factory)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 mode)MessageBatchMessageBatch. setSender(Address sender)Methods in org.jgroups.util with parameters of type MessageBatch Modifier and Type Method Description intMessageBatch. add(MessageBatch batch)intMessageBatch. 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 booleanMaxOneThreadPerSender.Entry. allowedToSubmitToThreadPool(MessageBatch msg_batch)protected static <T> longTable. findHighestSeqno(MessageBatch batch, java.util.function.Function<T,java.lang.Long> seqno_getter)protected booleanMaxOneThreadPerSender.Entry. process(MessageBatch batch)protected booleanMaxOneThreadPerSender.MessageTable. process(MessageBatch batch)booleanMaxOneThreadPerSender. process(MessageBatch batch, boolean oob)booleanSubmitToThreadPool. process(MessageBatch batch, boolean oob)protected voidSubmitToThreadPool. 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 MessageBatch Constructor Description BatchHandler(MessageBatch batch)BatchHandlerLoop(MessageBatch batch, MaxOneThreadPerSender.Entry entry, boolean loopback)
-