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 BatchMessageBatchMessage. setArray(ByteArray buf)BytesMessageBytesMessage. setArray(ByteArray buf)Sets the arrayCompositeMessageCompositeMessage. setArray(ByteArray buf)EmptyMessageEmptyMessage. setArray(ByteArray buf)LongMessageLongMessage. setArray(ByteArray b)MessageMessage. 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.NioMessageNioMessage. setArray(ByteArray b)Sets the bufferObjectMessageObjectMessage. 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. queueprotected FastArray<ByteArray>TcpConnectionNonBlocking. remove_queue -
Uses of ByteArray in org.jgroups.protocols
Methods in org.jgroups.protocols that return ByteArray Modifier and Type Method Description static ByteArrayDiscovery. marshal(java.util.List<PingData> list)static ByteArrayDiscovery. marshal(PingData data)static ByteArrayDiscovery. marshal(PingData... list)static ByteArrayFD_SOCK. marshal(LazyRemovalCache<Address,IpAddress> addrs)static ByteArrayMERGE3. marshal(View view)static ByteArrayFD_SOCK2. messageToBuffer(Message msg)protected static ByteArrayCOMPRESS. messageToByteArray(Message msg)protected static ByteArrayCOUNTER. requestToBuffer(COUNTER.Request req)protected static ByteArrayCOUNTER. responseToBuffer(org.jgroups.protocols.COUNTER.Response<?> rsp)protected static ByteArrayASYM_ENCRYPT. serializeKeys(java.util.Map<Address,byte[]> keys)protected ByteArrayDiscovery. serializeWithoutView(PingData data)Creates a byte[] representation of the PingData, but DISCARDING the view it contains.protected static ByteArrayCOUNTER. 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 voidCOUNTER. 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 ByteArrayGMS. marshal(java.util.Collection<? extends Address> mbrs)static ByteArrayGMS. marshal(JoinRsp join_rsp)protected static ByteArrayGMS. marshal(ViewId view_id)protected static ByteArrayGMS. marshal(View view, Digest digest)Methods in org.jgroups.protocols.pbcast with parameters of type ByteArray Modifier and Type Method Description protected voidGMS. 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 ByteArrayObjectWrapperSerializable. serializedMethods in org.jgroups.util that return ByteArray Modifier and Type Method Description ByteArrayByteArray. copy()static ByteArrayUtil. exceptionToBuffer(java.lang.Throwable t)ByteArrayByteArrayDataInputStream. getBuffer()ByteArrayByteArrayDataOutputStream. getBuffer()ByteArrayByteBufferOutputStream. getBufferAsBuffer()ByteArrayObjectWrapperSerializable. getSerialized()static ByteArrayUtil. messageToBuffer(Message msg)static ByteArrayUtil. messageToByteBuffer(Message msg)static ByteArrayUtil. objectToBuffer(java.lang.Object obj)Serializes/Streams an object into a byte buffer.static ByteArrayUtil. readBytes(java.io.InputStream in)Reads all bytes from an input stream, until eof (-1) is reachedstatic ByteArrayUtil. streamableToBuffer(Streamable obj)protected static ByteArrayUtil. writeSerializable(java.lang.Object obj)protected static ByteArrayUtil. writeStreamable(Streamable obj)Methods in org.jgroups.util with parameters of type ByteArray Modifier and Type Method Description static <T> TUtil. objectFromBuffer(ByteArray b, java.lang.ClassLoader loader)Constructors in org.jgroups.util with parameters of type ByteArray Constructor Description ByteArrayDataInputStream(ByteArray buf)
-