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 <O> voidBucketState. serialize(SerializationAdapter<O> adapter, O output, BucketState state, Version backwardCompatibilityVersion, Scope scope)static ObjectBucketState. toJsonCompatibleSnapshot(BucketState state, Version backwardCompatibilityVersion, Scope scope) -
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()VersionRemoteCommand. getRequiredVersion()Methods in io.github.bucket4j.distributed.remote with parameters of type Version Modifier and Type Method Description static <O> voidRemoteCommand. serialize(SerializationAdapter<O> adapter, O output, RemoteCommand<?> command, Version backwardCompatibilityVersion, Scope scope)static Map<String,Object>RemoteCommand. toJsonCompatibleSnapshot(RemoteCommand<?> command, Version backwardCompatibilityVersion, Scope scope)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.remote.commands
Methods in io.github.bucket4j.distributed.remote.commands that return Version Modifier and Type Method Description VersionAddTokensCommand. getRequiredVersion()VersionCheckConfigurationVersionAndExecuteCommand. getRequiredVersion()VersionConsumeAsMuchAsPossibleCommand. getRequiredVersion()VersionConsumeIgnoringRateLimitsCommand. getRequiredVersion()VersionCreateInitialStateAndExecuteCommand. getRequiredVersion()VersionCreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand. getRequiredVersion()VersionCreateSnapshotCommand. getRequiredVersion()VersionEstimateAbilityToConsumeCommand. getRequiredVersion()VersionForceAddTokensCommand. getRequiredVersion()VersionGetAvailableTokensCommand. getRequiredVersion()VersionGetConfigurationCommand. getRequiredVersion()VersionMultiCommand. getRequiredVersion()VersionReplaceConfigurationCommand. getRequiredVersion()VersionReserveAndCalculateTimeToSleepCommand. getRequiredVersion()VersionResetCommand. getRequiredVersion()VersionSyncCommand. getRequiredVersion()VersionTryConsumeAndReturnRemainingTokensCommand. getRequiredVersion()VersionTryConsumeCommand. getRequiredVersion()VersionVerboseCommand. getRequiredVersion() -
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 static <T> CommandResult<T>InternalSerializationHelper. deserializeResult(byte[] bytes, Version backwardCompatibilityVersion)<O> voidSerializationHandle. serialize(SerializationAdapter<O> adapter, O output, T serializableObject, Version backwardCompatibilityVersion, Scope scope)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, Scope scope) -
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 VersionVersions. max(Version first, Version second)static VersionVersions. max(Version first, Version second, Version third)Methods in io.github.bucket4j.distributed.versioning with parameters of type Version Modifier and Type Method Description static voidVersions. check(int formatNumber, Version min, Version max)static VersionVersions. max(Version first, Version second)static VersionVersions. max(Version first, Version second, Version third)
-