Uses of Interface
org.jgroups.util.Streamable
Packages that use Streamable
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides demonstrations of JGroups functionality.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of Streamable in org.jgroups
Subinterfaces of Streamable in org.jgroupsModifier and TypeInterfaceDescriptioninterfaceAddress identifies cluster member.interfaceA Message is used to send data to members of a group.interfaceRepresents a physical (as opposed to logical) addressClasses in org.jgroups that implement StreamableModifier and TypeClassDescriptionclassA common superclass for allMessageimplementations.classA message that contains a batch of messages.classAMessagecontaining a byte array as payload.classA message composed of multiple messages.classAMessagewithout a payload; optimized for sending only headers (e.g.classA message which refers to another message, but only marshals (Streamable.writeTo(DataOutput)) a part of the original message, starting at a givenBytesMessage.offsetand marshalling onlyBytesMessage.lengthbytes.classHeader is a JGroups internal base class for all JGroups headers.classMessage with a long as payload.classA view that is sent as a result of a cluster merge.classAMessagewith a (heap-based or direct)ByteBufferas payload.
Note that the payload of an NioMessage must not be modified after sending it (ie.classclassAMessagewith an object as payload.classA view is a local representation of the current membership of a group.classViewIds are used for ordering views (each view has a ViewId and a list of members). -
Uses of Streamable in org.jgroups.admin
Classes in org.jgroups.admin that implement StreamableModifier and TypeClassDescriptionclassHeader for admin messagesprotected static class -
Uses of Streamable in org.jgroups.auth
Classes in org.jgroups.auth that implement StreamableModifier and TypeClassDescriptionclassAbstract AuthToken class used by implementations of AUTH, e.g.classThe FixedMemberShipToken object predefines a list of IP addresses and ports that can join the group.classJGroups AuthToken Class to for Kerberos v5 authentication.classMatches the IP address or logical name of a joiner against a regular expression and accepts or rejects based on pattern matchingclassThis is an example of using a preshared token that is encrypted using an X509 certificate for authentication purposes. -
Uses of Streamable in org.jgroups.blocks
Classes in org.jgroups.blocks that implement StreamableModifier and TypeClassDescriptionstatic classclassA method call is the JGroups representation of a remote method.static classThe header for RequestCorrelator messagesstatic final class -
Uses of Streamable in org.jgroups.blocks.atomic
Classes in org.jgroups.blocks.atomic with type parameters of type StreamableModifier and TypeInterfaceDescriptioninterfaceCounterFunction<T extends Streamable>A function to updateAsyncCounterorSyncCounter.Subinterfaces of Streamable in org.jgroups.blocks.atomicModifier and TypeInterfaceDescriptioninterfaceCounterFunction<T extends Streamable>A function to updateAsyncCounterorSyncCounter.Methods in org.jgroups.blocks.atomic with type parameters of type StreamableModifier and TypeMethodDescriptiondefault <T extends Streamable>
CompletionStage<T> AsyncCounter.update(CounterFunction<T> updateFunction) Atomically updates the counter's value.default <T extends Streamable>
TSyncCounter.update(CounterFunction<T> updateFunction) Atomically updates the counter's value. -
Uses of Streamable in org.jgroups.demos
Classes in org.jgroups.demos that implement StreamableModifier and TypeClassDescriptionclassEncapsulates information about a draw command. -
Uses of Streamable in org.jgroups.protocols
Subinterfaces of Streamable in org.jgroups.protocolsClasses in org.jgroups.protocols that implement StreamableModifier and TypeClassDescriptionclassAuthHeader is a holder object for the token that is passed from the joiner to the coordinatorstatic classstatic classprotected static classprotected static classstatic classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classstatic classstatic classclassstatic classstatic classclassHeader used by various flow control protocolsstatic classstatic classstatic classclassclassclassCarries random bits of informationstatic classclassprotected static classclassclassEncapsulates information about a cluster node, e.g.classUsed to send discovery requests and responsesclassprotected static classclassHeader to measure round-trip times (in nanoseconds) for sync RPCs (https://issues.redhat.com/browse/JGRP-2604)static classstatic classstatic classclassGeneric transport header, used by TP.classHeader for subclasses ofReliableUnicast, e.g.classMoved out ofUNICAST3into separate class.static classstatic classstatic classMethods in org.jgroups.protocols with type parameters of type StreamableModifier and TypeMethodDescription<T extends Streamable>
CompletionStage<T> COUNTER.CounterImpl.update(CounterFunction<T> updateFunction) Methods in org.jgroups.protocols with parameters of type StreamableModifier and TypeMethodDescriptionprotected static ByteArrayCOUNTER.streamableToBuffer(byte req_or_rsp, byte type, Streamable obj) -
Uses of Streamable in org.jgroups.protocols.pbcast
Classes in org.jgroups.protocols.pbcast that implement Streamable -
Uses of Streamable in org.jgroups.protocols.relay
Subinterfaces of Streamable in org.jgroups.protocols.relayClasses in org.jgroups.protocols.relay that implement StreamableModifier and TypeClassDescriptionclassclassSpecial address with the UUID part being 0: identifies the current (relay) coordinator of a given site.classImplementation of SiteAddress -
Uses of Streamable in org.jgroups.stack
Classes in org.jgroups.stack that implement StreamableModifier and TypeClassDescriptionclassEncapsulates data sent between GossipRouter and RouterStub (TCPGOSSIP and TUNNEL)classNetwork-dependent address (Internet). -
Uses of Streamable in org.jgroups.util
Subinterfaces of Streamable in org.jgroups.utilModifier and TypeInterfaceDescriptioninterfaceInterface implementing Streamable and returning the size of the marshalled object.Classes in org.jgroups.util that implement StreamableModifier and TypeClassDescriptionclassMaintains an approximation of an average of positive (>= 0) values in a window and adding new values at random indices.
This class is lock-less, at the expense of incorrect reads and writes (by multiple threads), but the noise of these errors should be negligible.classMeasures min and max in addition to averageclassA message digest containing - for each member - the highest seqno delivered (hd) and the highest seqno received (hr).classSubclass ofUUIDaccommodating additional data such as a flag and a small hashmap.classSubclass ofUUIDaccommodating additional data such as a flag.final classclassID to uniquely identify a mergeclassAddress with current time as key.classA mutable version of Digest.classWraps a primitive object (e.g.classWraps an object and its serialized form.classRepresents an 'owner', which is an address and thread IDclassclassA bitset of missing messages with a fixed size.classLogical address which is unique over space and time.Methods in org.jgroups.util with type parameters of type StreamableModifier and TypeMethodDescriptionstatic <T extends Streamable>
T[]static <T extends Streamable>
TUtil.readGenericStreamable(DataInput in) static <T extends Streamable>
TUtil.readGenericStreamable(DataInput in, ClassLoader loader) static <T extends Streamable>
TUtil.readStreamable(Supplier<T> factory, DataInput in) static <T extends Streamable>
TUtil.streamableFromBuffer(Supplier<T> factory, byte[] buf, int off, int len) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, byte[] buffer) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, byte[] buffer, int offset, int length) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, ByteBuffer buffer) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Supplier<T> factory, byte[] buffer) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Supplier<T> factory, byte[] buffer, int offset, int length) static <T extends Streamable>
voidUtil.write(T[] array, DataOutput out) Methods in org.jgroups.util that return StreamableMethods in org.jgroups.util with parameters of type StreamableModifier and TypeMethodDescriptionstatic ByteArrayUtil.streamableToBuffer(Streamable obj) static byte[]Util.streamableToByteBuffer(Streamable obj) static <T extends Streamable>
voidUtil.write(T[] array, DataOutput out) static voidUtil.writeGenericStreamable(Streamable obj, DataOutput out) protected static ByteArrayUtil.writeStreamable(Streamable obj) static voidUtil.writeStreamable(Streamable obj, DataOutput out) static voidUtil.writeTypeStreamable(Streamable obj, DataOutput out) Method parameters in org.jgroups.util with type arguments of type StreamableModifier and TypeMethodDescriptionstatic <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, byte[] buffer) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, byte[] buffer, int offset, int length) static <T extends Streamable>
TUtil.streamableFromByteBuffer(Class<? extends Streamable> cl, ByteBuffer buffer)