Uses of Interface
io.github.bucket4j.BucketState
Packages that use BucketState
-
Uses of BucketState in io.github.bucket4j
Classes in io.github.bucket4j that implement BucketStateMethods in io.github.bucket4j that return BucketStateModifier and TypeMethodDescriptionBucketState.copy()BucketState64BitsInteger.copy()static BucketStateBucketState.createInitialState(BucketConfiguration configuration, MathType mathType, long currentTimeNanos) static <S> BucketStateBucketState.deserialize(DeserializationAdapter<S> adapter, S input) static BucketStateBucketState.fromJsonCompatibleSnapshot(Map<String, Object> snapshot) VerboseResult.getState()BucketState.replaceConfiguration(BucketConfiguration newConfiguration, TokensInheritanceStrategy tokensInheritanceStrategy, long currentTimeNanos) BucketState64BitsInteger.replaceConfiguration(BucketConfiguration newConfiguration, TokensInheritanceStrategy tokensInheritanceStrategy, long currentTimeNanos) Methods in io.github.bucket4j with parameters of type BucketStateModifier and TypeMethodDescriptionvoidBucketState.copyStateFrom(BucketState sourceState) voidBucketState64BitsInteger.copyStateFrom(BucketState sourceState) static <O> voidBucketState.serialize(SerializationAdapter<O> adapter, O output, BucketState state, Version backwardCompatibilityVersion, Scope scope) static ObjectBucketState.toJsonCompatibleSnapshot(BucketState state, Version backwardCompatibilityVersion, Scope scope) Constructors in io.github.bucket4j with parameters of type BucketState -
Uses of BucketState in io.github.bucket4j.distributed.remote
Methods in io.github.bucket4j.distributed.remote that return BucketStateModifier and TypeMethodDescriptionRemoteBucketState.copyBucketState()RemoteBucketState.getState()Constructors in io.github.bucket4j.distributed.remote with parameters of type BucketStateModifierConstructorDescriptionRemoteBucketState(BucketState state, RemoteStat stat, Long configurationVersion)