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.blocks.cs |
This package contains all client-server related interfaces and classes
|
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.setBuffer(Buffer buf)
Note that the byte[] buffer passed as argument must not be modified.
|
Modifier and Type | Method and Description |
---|---|
Buffer |
RpcDispatcher.Marshaller.objectToBuffer(java.lang.Object obj)
Marshals the object into a byte[] buffer and returns a Buffer with a ref to the underlying byte[] buffer,
offset and length.
Note that the underlying byte[] buffer must not be changed as this would change the buffer of a message which potentially can get retransmitted, and such a retransmission would then carry a ref to a changed byte[] buffer ! |
Modifier and Type | Field and Description |
---|---|
protected static Buffer |
TcpConnection.termination |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.BlockingQueue<Buffer> |
TcpConnection.Sender.send_queue |
Modifier and Type | Method and Description |
---|---|
void |
TcpConnection.Sender.addToQueue(Buffer data) |
Modifier and Type | Method and Description |
---|---|
static Buffer |
FD_SOCK.marshal(LazyRemovalCache<Address,IpAddress> addrs) |
static Buffer |
Discovery.marshal(PingData data) |
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 |
COUNTER.streamableToBuffer(byte req_or_rsp,
byte type,
Streamable obj) |
Modifier and Type | Method and Description |
---|---|
protected void |
COUNTER.send(Address dest,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected static Buffer |
GMS.marshal(java.util.Collection<? extends Address> mbrs) |
protected static Buffer |
FLUSH.marshal(java.util.Collection<? extends Address> participants,
Digest digest) |
static Buffer |
STABLE.marshal(Digest digest) |
static Buffer |
GMS.marshal(JoinRsp join_rsp) |
protected static Buffer |
GMS.marshal(View view,
Digest digest) |
protected static Buffer |
GMS.marshal(ViewId view_id) |
Modifier and Type | Method and Description |
---|---|
Buffer |
Buffer.copy() |
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) |
Copyright © 1998-2020 Red Hat. All Rights Reserved.