Uses of Record Class
org.jgroups.util.ByteArray
Packages that use ByteArray
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
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 ByteArrayModifier and TypeMethodDescriptionSets the arraySets 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.Sets the bufferConstructors in org.jgroups with parameters of type ByteArray -
Uses of ByteArray in org.jgroups.blocks.cs
Fields in org.jgroups.blocks.cs with type parameters of type ByteArrayModifier and TypeFieldDescriptionprotected final BlockingQueue<ByteArray> TcpConnectionNonBlocking.queueDeprecated, for removal: This API element is subject to removal in a future version.TcpConnectionNonBlocking.remove_queueDeprecated, for removal: This API element is subject to removal in a future version. -
Uses of ByteArray in org.jgroups.protocols
Methods in org.jgroups.protocols that return ByteArrayModifier and TypeMethodDescriptionstatic ByteArraystatic ByteArraystatic ByteArraystatic ByteArrayFD_SOCK.marshal(LazyRemovalCache<Address, IpAddress> addrs) static ByteArraystatic 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(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 -
Uses of ByteArray in org.jgroups.protocols.pbcast
Methods in org.jgroups.protocols.pbcast that return ByteArrayModifier and TypeMethodDescriptionprotected static ByteArrayGMS.marshal(Collection<? extends Address> mbrs) static ByteArrayprotected static ByteArrayprotected static ByteArrayMethods in org.jgroups.protocols.pbcast with parameters of type ByteArrayModifier and TypeMethodDescriptionprotected voidGMS.sendJoinResponse(ByteArray marshalled_rsp, Address dest) -
Uses of ByteArray in org.jgroups.util
Fields in org.jgroups.util declared as ByteArrayMethods in org.jgroups.util that return ByteArrayModifier and TypeMethodDescriptionstatic ByteArrayUtil.bufferToByteArray(ByteBuffer buf) static ByteArrayUtil.bufferToByteArray(ByteBuffer[] bufs) ByteArray.copy()static ByteArrayUtil.exceptionToBuffer(Throwable t) ByteArrayDataInputStream.getBuffer()ByteArrayDataOutputStream.getBuffer()ObjectWrapperSerializable.getSerialized()static ByteArrayUtil.messageToBuffer(Message msg) static ByteArrayUtil.objectToBuffer(Object obj) Serializes/Streams an object into a byte buffer.static ByteArrayUtil.readBytes(InputStream in) Reads all bytes from an input stream, until eof (-1) is reachedstatic ByteArrayUtil.streamableToBuffer(Streamable obj) protected static ByteArrayUtil.writeSerializable(Object obj) protected static ByteArrayUtil.writeStreamable(Streamable obj) Methods in org.jgroups.util with parameters of type ByteArrayModifier and TypeMethodDescriptionstatic <T> TUtil.objectFromBuffer(ByteArray b, ClassLoader loader) Constructors in org.jgroups.util with parameters of type ByteArray