Uses of Class
org.jgroups.util.Buffer
-
Packages that use Buffer 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.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.protocols.pbcast org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of Buffer in org.jgroups
Methods in org.jgroups that return Buffer Modifier and Type Method Description Buffer
Message. buffer2()
Buffer
Message. getBuffer2()
Methods in org.jgroups with parameters of type Buffer Modifier and Type Method Description Message
Message. buffer(Buffer b)
Message
Message. setBuffer(Buffer buf)
Sets the bufferConstructors in org.jgroups with parameters of type Buffer Constructor Description Message(Address dest, Buffer buf)
-
Uses of Buffer in org.jgroups.blocks
Methods in org.jgroups.blocks that return Buffer Modifier and Type Method Description protected static Buffer
RpcDispatcher. methodCallToBuffer(MethodCall call, Marshaller marshaller)
protected static Buffer
RequestCorrelator. replyToBuffer(java.lang.Object obj, Marshaller marshaller)
Methods in org.jgroups.blocks with parameters of type Buffer Modifier and Type Method Description protected <T> GroupRequest<T>
MessageDispatcher. cast(java.util.Collection<Address> dests, Buffer data, RequestOptions options, boolean block_for_results)
<T> RspList<T>
MessageDispatcher. castMessage(java.util.Collection<Address> dests, Buffer data, RequestOptions opts)
Sends a message to all members and expects responses from members in dests (if non-null).<T> java.util.concurrent.CompletableFuture<RspList<T>>
MessageDispatcher. castMessageWithFuture(java.util.Collection<Address> dests, Buffer data, RequestOptions opts)
Sends a message to all members and expects responses from members in dests (if non-null).T
Request. execute(Buffer data, boolean block_for_results)
<T> T
MessageDispatcher. sendMessage(Address dest, Buffer data, RequestOptions opts)
Sends a unicast message and - depending on the options - returns a result<T> java.util.concurrent.CompletableFuture<T>
MessageDispatcher. sendMessageWithFuture(Address dest, Buffer data, RequestOptions opts)
Sends a unicast message to the target defined by msg.getDest() and returns a futurevoid
GroupRequest. sendRequest(Buffer data)
protected void
GroupRequest. sendRequest(Buffer data, java.util.Collection<Address> targetMembers)
abstract void
Request. sendRequest(Buffer data)
void
RequestCorrelator. sendRequest(java.util.Collection<Address> dest_mbrs, Buffer data, Request req, RequestOptions opts)
Sends a request to a group.void
UnicastRequest. sendRequest(Buffer data)
void
RequestCorrelator. sendUnicastRequest(Address dest, Buffer data, Request req, RequestOptions opts)
Sends a request to a single destination -
Uses of Buffer in org.jgroups.protocols
Methods in org.jgroups.protocols that return Buffer Modifier and Type Method Description static Buffer
Discovery. marshal(PingData data)
static Buffer
FD_SOCK. marshal(LazyRemovalCache<Address,IpAddress> addrs)
static Buffer
MERGE3. marshal(View view)
protected static Buffer
COUNTER. requestToBuffer(COUNTER.Request req)
protected static Buffer
COUNTER. responseToBuffer(COUNTER.Response rsp)
protected static Buffer
ASYM_ENCRYPT. serializeKeys(java.util.Map<Address,byte[]> keys)
protected static Buffer
COUNTER. streamableToBuffer(byte req_or_rsp, byte type, Streamable obj)
Methods in org.jgroups.protocols with parameters of type Buffer Modifier and Type Method Description protected void
COUNTER. send(Address dest, Buffer buffer)
protected void
CENTRAL_LOCK2. sendLockInfoRequestTo(Buffer buf, Address[] mbrs, Address exclude)
-
Uses of Buffer in org.jgroups.protocols.pbcast
Methods in org.jgroups.protocols.pbcast that return Buffer Modifier and Type Method Description protected static Buffer
FLUSH. marshal(java.util.Collection<? extends Address> participants, Digest digest)
protected static Buffer
GMS. marshal(java.util.Collection<? extends Address> mbrs)
static Buffer
GMS. marshal(JoinRsp join_rsp)
protected static Buffer
GMS. marshal(ViewId view_id)
protected static Buffer
GMS. marshal(View view, Digest digest)
static Buffer
STABLE. marshal(Digest digest)
Methods in org.jgroups.protocols.pbcast with parameters of type Buffer Modifier and Type Method Description protected void
GMS. sendJoinResponse(Buffer marshalled_rsp, Address dest)
-
Uses of Buffer in org.jgroups.util
Methods in org.jgroups.util that return Buffer Modifier and Type Method Description Buffer
Buffer. copy()
static Buffer
Util. exceptionToBuffer(java.lang.Throwable t)
Buffer
ByteArrayDataOutputStream. getBuffer()
Buffer
ByteBufferOutputStream. getBufferAsBuffer()
static Buffer
Util. messageToByteBuffer(Message msg)
static Buffer
Util. objectToBuffer(java.lang.Object obj)
static Buffer
Util. streamableToBuffer(Streamable obj)
-