Uses of Interface
io.github.bucket4j.distributed.versioning.Version
-
-
Uses of Version in io.github.bucket4j
Methods in io.github.bucket4j with parameters of type Version Modifier and Type Method Description static <S> BucketStateBucketState. deserialize(DeserializationAdapter<S> adapter, S input, Version backwardCompatibilityVersion)static BucketStateBucketState. fromJsonCompatibleSnapshot(Map<String,Object> snapshot, Version backwardCompatibilityVersion)static <O> voidBucketState. serialize(SerializationAdapter<O> adapter, O output, BucketState state, Version backwardCompatibilityVersion)static ObjectBucketState. toJsonCompatibleSnapshot(BucketState state, Version backwardCompatibilityVersion) -
Uses of Version in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return Version Modifier and Type Method Description protected VersionAbstractProxyManager. getBackwardCompatibilityVersion()VersionClientSideConfig. getBackwardCompatibilityVersion()Returns the Bucket4j protocol version is used to be backward compatible with other nodes in the cluster.Methods in io.github.bucket4j.distributed.proxy with parameters of type Version Modifier and Type Method Description ClientSideConfigClientSideConfig. backwardCompatibleWith(Version backwardCompatibilityVersion)Returns new instance ofClientSideConfigwith configuredbackwardCompatibilityVersion.Constructors in io.github.bucket4j.distributed.proxy with parameters of type Version Constructor Description ClientSideConfig(Version backwardCompatibilityVersion, Optional<TimeMeter> clientSideClock) -
Uses of Version in io.github.bucket4j.distributed.proxy.generic
Constructors in io.github.bucket4j.distributed.proxy.generic with parameters of type Version Constructor Description GenericEntry(byte[] originalStateBytes, Version backwardCompatibilityVersion) -
Uses of Version in io.github.bucket4j.distributed.remote
Methods in io.github.bucket4j.distributed.remote that return Version Modifier and Type Method Description VersionRequest. getBackwardCompatibilityVersion()Methods in io.github.bucket4j.distributed.remote with parameters of type Version Modifier and Type Method Description static <I> RemoteCommand<?>RemoteCommand. deserialize(DeserializationAdapter<I> adapter, I input, Version backwardCompatibilityVersion)static RemoteCommand<?>RemoteCommand. fromJsonCompatibleSnapshot(Map<String,Object> snapshot, Version backwardCompatibilityVersion)static <O> voidRemoteCommand. serialize(SerializationAdapter<O> adapter, O output, RemoteCommand<?> command, Version backwardCompatibilityVersion)static Map<String,Object>RemoteCommand. toJsonCompatibleSnapshot(RemoteCommand<?> command, Version backwardCompatibilityVersion)Constructors in io.github.bucket4j.distributed.remote with parameters of type Version Constructor Description Request(RemoteCommand<T> command, Version backwardCompatibilityVersion, Long clientSideTime) -
Uses of Version in io.github.bucket4j.distributed.serialization
Methods in io.github.bucket4j.distributed.serialization with parameters of type Version Modifier and Type Method Description <I> TSerializationHandle. deserialize(DeserializationAdapter<I> adapter, I input, Version backwardCompatibilityVersion)static <T> CommandResult<T>InternalSerializationHelper. deserializeResult(byte[] bytes, Version backwardCompatibilityVersion)TSerializationHandle. fromJsonCompatibleSnapshot(Map<String,Object> snapshot, Version backwardCompatibilityVersion)<O> voidSerializationHandle. serialize(SerializationAdapter<O> adapter, O output, T serializableObject, Version backwardCompatibilityVersion)static byte[]InternalSerializationHelper. serializeResult(CommandResult<?> result, Version backwardCompatibilityVersion)static byte[]InternalSerializationHelper. serializeState(RemoteBucketState state, Version backwardCompatibilityVersion)Map<String,Object>SerializationHandle. toJsonCompatibleSnapshot(T serializableObject, Version backwardCompatibilityVersion) -
Uses of Version in io.github.bucket4j.distributed.versioning
Classes in io.github.bucket4j.distributed.versioning that implement Version Modifier and Type Class Description classVersionsstatic classVersions.UnknownVersionMethods in io.github.bucket4j.distributed.versioning that return Version Modifier and Type Method Description static VersionVersions. byNumber(int number)static VersionVersions. getLatest()static VersionVersions. getOldest()static VersionVersion. max(Version first, Version second)Methods in io.github.bucket4j.distributed.versioning with parameters of type Version Modifier and Type Method Description static VersionVersion. max(Version first, Version second)
-