Uses of Class
org.jgroups.util.ByteArray
-
Packages that use ByteArray Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks.cs 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 ByteArray in org.jgroups
Methods in org.jgroups with parameters of type ByteArray Modifier and Type Method Description BatchMessage
BatchMessage. setArray(ByteArray buf)
BytesMessage
BytesMessage. setArray(ByteArray buf)
Sets the arrayCompositeMessage
CompositeMessage. setArray(ByteArray buf)
EmptyMessage
EmptyMessage. setArray(ByteArray buf)
LongMessage
LongMessage. setArray(ByteArray b)
Message
Message. setArray(ByteArray buf)
Sets the byte array in a message.
Throws an exception if the message does not have a byte[] array payload (Message.hasArray()
is false).
Note that this is a convenience method, as most messages are of typeBytesMessage
.NioMessage
NioMessage. setArray(ByteArray b)
Sets the bufferObjectMessage
ObjectMessage. setArray(ByteArray buf)
Constructors in org.jgroups with parameters of type ByteArray Constructor Description BytesMessage(Address dest, ByteArray array)
-
Uses of ByteArray in org.jgroups.blocks.cs
Fields in org.jgroups.blocks.cs with type parameters of type ByteArray Modifier and Type Field Description protected java.util.concurrent.BlockingQueue<ByteArray>
TcpConnectionNonBlocking. queue
-
Uses of ByteArray in org.jgroups.protocols
Methods in org.jgroups.protocols that return ByteArray Modifier and Type Method Description static ByteArray
Discovery. marshal(java.util.List<PingData> list)
static ByteArray
Discovery. marshal(PingData data)
static ByteArray
Discovery. marshal(PingData... list)
static ByteArray
FD_SOCK. marshal(LazyRemovalCache<Address,IpAddress> addrs)
static ByteArray
MERGE3. marshal(View view)
static ByteArray
FD_SOCK2. messageToBuffer(Message msg)
protected static ByteArray
COMPRESS. messageToByteArray(Message msg)
protected static ByteArray
COUNTER. requestToBuffer(COUNTER.Request req)
protected static ByteArray
COUNTER. responseToBuffer(org.jgroups.protocols.COUNTER.Response<?> rsp)
protected static ByteArray
ASYM_ENCRYPT. serializeKeys(java.util.Map<Address,byte[]> keys)
protected ByteArray
Discovery. serializeWithoutView(PingData data)
Creates a byte[] representation of the PingData, but DISCARDING the view it contains.protected static ByteArray
COUNTER. streamableToBuffer(byte req_or_rsp, byte type, Streamable obj)
Methods in org.jgroups.protocols with parameters of type ByteArray Modifier and Type Method Description protected void
COUNTER. send(Address dest, ByteArray buffer)
-
Uses of ByteArray in org.jgroups.protocols.pbcast
Methods in org.jgroups.protocols.pbcast that return ByteArray Modifier and Type Method Description protected static ByteArray
GMS. marshal(java.util.Collection<? extends Address> mbrs)
static ByteArray
GMS. marshal(JoinRsp join_rsp)
protected static ByteArray
GMS. marshal(ViewId view_id)
protected static ByteArray
GMS. marshal(View view, Digest digest)
Methods in org.jgroups.protocols.pbcast with parameters of type ByteArray Modifier and Type Method Description protected void
GMS. sendJoinResponse(ByteArray marshalled_rsp, Address dest)
-
Uses of ByteArray in org.jgroups.util
Fields in org.jgroups.util declared as ByteArray Modifier and Type Field Description protected ByteArray
ObjectWrapperSerializable. serialized
Methods in org.jgroups.util that return ByteArray Modifier and Type Method Description ByteArray
ByteArray. copy()
static ByteArray
Util. exceptionToBuffer(java.lang.Throwable t)
ByteArray
ByteArrayDataInputStream. getBuffer()
ByteArray
ByteArrayDataOutputStream. getBuffer()
ByteArray
ByteBufferOutputStream. getBufferAsBuffer()
ByteArray
ObjectWrapperSerializable. getSerialized()
static ByteArray
Util. messageToBuffer(Message msg)
static ByteArray
Util. messageToByteBuffer(Message msg)
static ByteArray
Util. objectToBuffer(java.lang.Object obj)
Serializes/Streams an object into a byte buffer.static ByteArray
Util. streamableToBuffer(Streamable obj)
protected static ByteArray
Util. writeSerializable(java.lang.Object obj)
protected static ByteArray
Util. writeStreamable(Streamable obj)
Methods in org.jgroups.util with parameters of type ByteArray Modifier and Type Method Description static <T> T
Util. objectFromBuffer(ByteArray b, java.lang.ClassLoader loader)
Constructors in org.jgroups.util with parameters of type ByteArray Constructor Description ByteArrayDataInputStream(ByteArray buf)
-