Uses of Interface
org.jgroups.util.Streamable
-
Packages that use Streamable Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.auth org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.blocks.atomic org.jgroups.demos Provides demonstrations of JGroups functionality.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.protocols.relay org.jgroups.stack Support for managing protocol stacks.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of Streamable in org.jgroups
Subinterfaces of Streamable in org.jgroups Modifier and Type Interface Description interfaceAddressAddress identifies cluster member.interfaceMessageA Message is used to send data to members of a group.interfacePhysicalAddressRepresents a physical (as opposed to logical) addressClasses in org.jgroups that implement Streamable Modifier and Type Class Description classBaseMessageA common superclass for allMessageimplementations.classBatchMessageA message that contains a batch of messages.classBytesMessageAMessagecontaining a byte array as payload.classCompositeMessageA message composed of multiple messages.classEmptyMessageAMessagewithout a payload; optimized for sending only headers (e.g.classFragmentedMessageA message which refers to another message, but only marshals (writeTo(DataOutput)) a part of the original message, starting at a givenBytesMessage.offsetand marshalling onlyBytesMessage.lengthbytes.classHeaderHeader is a JGroups internal base class for all JGroups headers.classLongMessageMessage with a long as payload.classMergeViewA view that is sent as a result of a cluster merge.classNioMessageAMessagewith a (heap-based or direct)ByteBufferas payload.
Note that the payload of an NioMessage must not be modified after sending it (ie.classNullAddressclassObjectMessageAMessagewith an object as payload.classViewA view is a local representation of the current membership of a group.classViewIdViewIds are used for ordering views (each view has a ViewId and a list of members). -
Uses of Streamable in org.jgroups.auth
Classes in org.jgroups.auth that implement Streamable Modifier and Type Class Description classAuthTokenAbstract AuthToken class used by implementations of AUTH, e.g.classFixedMembershipTokenThe FixedMemberShipToken object predefines a list of IP addresses and ports that can join the group.classKrb5TokenJGroups AuthToken Class to for Kerberos v5 authentication.classRegexMembershipMatches the IP address or logical name of a joiner against a regular expression and accepts or rejects based on pattern matchingclassX509TokenThis 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 Streamable Modifier and Type Class Description static classGridFile.MetadataclassMethodCallA method call is the JGroups representation of a remote method.static classRequestCorrelator.HeaderThe header for RequestCorrelator messagesstatic classRequestCorrelator.MultiDestinationHeader -
Uses of Streamable in org.jgroups.blocks.atomic
Classes in org.jgroups.blocks.atomic with type parameters of type Streamable Modifier and Type Interface Description interfaceCounterFunction<T extends Streamable>A function to updateAsyncCounterorSyncCounter.Subinterfaces of Streamable in org.jgroups.blocks.atomic Modifier and Type Interface Description interfaceCounterFunction<T extends Streamable>A function to updateAsyncCounterorSyncCounter.Methods in org.jgroups.blocks.atomic with type parameters of type Streamable Modifier and Type Method Description default <T extends Streamable>
java.util.concurrent.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 Streamable Modifier and Type Class Description classDrawCommandEncapsulates information about a draw command. -
Uses of Streamable in org.jgroups.protocols
Subinterfaces of Streamable in org.jgroups.protocols Modifier and Type Interface Description protected static interfaceCOUNTER.RequestClasses in org.jgroups.protocols that implement Streamable Modifier and Type Class Description classAuthHeaderAuthHeader is a holder object for the token that is passed from the joiner to the coordinatorstatic classBATCH.BatchHeaderDeprecated, for removal: This API element is subject to removal in a future version.static classBATCH2.Batch2Headerstatic classCOMPRESS.CompressHeaderprotected static classCOUNTER.AddAndGetRequestprotected static classCOUNTER.CompareAndSetRequeststatic classCOUNTER.CounterHeaderprotected static classCOUNTER.DeleteRequestprotected static classCOUNTER.ExceptionResponseprotected static classCOUNTER.GetOrCreateRequestprotected static classCOUNTER.ReconcileRequestprotected static classCOUNTER.ReconcileResponseprotected static classCOUNTER.ResendPendingRequestsprotected static classCOUNTER.SetRequestprotected static classCOUNTER.SimpleRequestprotected static classCOUNTER.UpdateRequestprotected static classCOUNTER.ValueResponsestatic classDAISYCHAIN.DaisyHeaderstatic classDH_KEY_EXCHANGE.DhHeaderclassEncryptHeaderstatic classEXAMPLE.ExampleHeaderstatic classFailureDetection.HeartbeatHeaderclassFcHeaderHeader used by various flow control protocolsstatic classFD_SOCK.FdHeaderstatic classFD_SOCK2.FdHeaderstatic classFORK.ForkHeaderclassFrag3HeaderclassFragHeaderclassInfoHeaderCarries random bits of informationstatic classMERGE3.MergeHeaderclassNakAckHeaderprotected static classPDC.MappingclassPerfHeaderclassPingDataEncapsulates information about a cluster node, e.g.classPingHeaderUsed to send discovery requests and responsesclassProtPerfHeaderprotected static classRSVP.RsvpHeaderclassRTTHeaderHeader to measure round-trip times (in nanoseconds) for sync RPCs (https://issues.redhat.com/browse/JGRP-2604)static classSEQUENCER.SequencerHeaderstatic classSEQUENCER2.SequencerHeaderstatic classSTOMP.StompHeaderclassTpHeaderGeneric transport header, used by TP.classUnicastHeaderHeader for subclasses ofReliableUnicast, e.g.classUnicastHeader3Moved out ofUNICAST3into separate class.static classVERIFY_SUSPECT.VerifyHeaderstatic classVERIFY_SUSPECT2.VerifyHeaderMethods in org.jgroups.protocols with type parameters of type Streamable Modifier and Type Method Description <T extends Streamable>
java.util.concurrent.CompletionStage<T>COUNTER.CounterImpl. update(CounterFunction<T> updateFunction)Methods in org.jgroups.protocols with parameters of type Streamable Modifier and Type Method Description protected 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 Modifier and Type Class Description classDeltaViewSubclass ofViewwith a null members field.static classGMS.GmsHeaderclassJoinRspResult of a JOIN request (sent by the GMS client).classNakAckHeader2Header used byNAKACK2static classSTABLE.StableHeaderstatic classSTATE_TRANSFER.StateHeaderWraps data for a state request/response.static classStreamingStateTransfer.StateHeader -
Uses of Streamable in org.jgroups.protocols.relay
Subinterfaces of Streamable in org.jgroups.protocols.relay Modifier and Type Interface Description interfaceSiteAddressAddress with a site suffixClasses in org.jgroups.protocols.relay that implement Streamable Modifier and Type Class Description classRelayHeaderclassSiteMasterSpecial address with the UUID part being 0: identifies the current (relay) coordinator of a given site.classSiteUUIDImplementation of SiteAddress -
Uses of Streamable in org.jgroups.stack
Classes in org.jgroups.stack that implement Streamable Modifier and Type Class Description classGossipDataEncapsulates data sent between GossipRouter and RouterStub (TCPGOSSIP and TUNNEL)classIpAddressNetwork-dependent address (Internet). -
Uses of Streamable in org.jgroups.util
Subinterfaces of Streamable in org.jgroups.util Modifier and Type Interface Description interfaceSizeStreamableInterface implementing Streamable and returning the size of the marshalled object.Classes in org.jgroups.util that implement Streamable Modifier and Type Class Description classAverageMaintains 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.classAverageMinMaxMeasures min and max in addition to averageclassByteArrayByte array with an offset and length.
Note that the underlying byte array must not be changed as long as this instance is in use !classDigestA message digest containing - for each member - the highest seqno delivered (hd) and the highest seqno received (hr).classExtendedUUIDSubclass ofUUIDaccommodating additional data such as a flag and a small hashmap.classFlagsUUIDSubclass ofUUIDaccommodating additional data such as a flag.classLongSizeStreamableclassMergeIdID to uniquely identify a mergeclassMillisAddressAddress with current time as key.classMutableDigestA mutable version of Digest.classObjectWrapperPrimitiveWraps a primitive object (e.g.classObjectWrapperSerializableWraps an object and its serialized form.classOwnerRepresents an 'owner', which is an address and thread IDclassRangeclassSeqnoListA bitset of missing messages with a fixed size.classUUIDLogical address which is unique over space and time.Methods in org.jgroups.util with type parameters of type Streamable Modifier and Type Method Description static <T extends Streamable>
T[]Util. read(java.lang.Class<T> clazz, java.io.DataInput in)static <T extends Streamable>
TUtil. readGenericStreamable(java.io.DataInput in)static <T extends Streamable>
TUtil. readGenericStreamable(java.io.DataInput in, java.lang.ClassLoader loader)static <T extends Streamable>
TUtil. readStreamable(java.util.function.Supplier<T> factory, java.io.DataInput in)static <T extends Streamable>
TUtil. streamableFromBuffer(java.util.function.Supplier<T> factory, byte[] buf, int off, int len)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, byte[] buffer)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, byte[] buffer, int offset, int length)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, java.nio.ByteBuffer buffer)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.util.function.Supplier<T> factory, byte[] buffer)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.util.function.Supplier<T> factory, byte[] buffer, int offset, int length)static <T extends Streamable>
voidUtil. write(T[] array, java.io.DataOutput out)Methods in org.jgroups.util that return Streamable Modifier and Type Method Description static <T extends Streamable>
T[]Util. read(java.lang.Class<T> clazz, java.io.DataInput in)Methods in org.jgroups.util with parameters of type Streamable Modifier and Type Method Description static ByteArrayUtil. streamableToBuffer(Streamable obj)static byte[]Util. streamableToByteBuffer(Streamable obj)static <T extends Streamable>
voidUtil. write(T[] array, java.io.DataOutput out)static voidUtil. writeGenericStreamable(Streamable obj, java.io.DataOutput out)protected static ByteArrayUtil. writeStreamable(Streamable obj)static voidUtil. writeStreamable(Streamable obj, java.io.DataOutput out)static voidUtil. writeTypeStreamable(Streamable obj, java.io.DataOutput out)Method parameters in org.jgroups.util with type arguments of type Streamable Modifier and Type Method Description static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, byte[] buffer)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, byte[] buffer, int offset, int length)static <T extends Streamable>
TUtil. streamableFromByteBuffer(java.lang.Class<? extends Streamable> cl, java.nio.ByteBuffer buffer)
-