Uses of Class
io.github.bucket4j.distributed.remote.RemoteBucketState
Packages that use RemoteBucketState
Package
Description
-
Uses of RemoteBucketState in io.github.bucket4j.distributed
Methods in io.github.bucket4j.distributed with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionlongExpirationAfterWriteStrategy.calculateTimeToLiveMillis(RemoteBucketState state, long currentTimeNanos) Calculates the time to live for bucket that is going to be persisted to the remote storage -
Uses of RemoteBucketState in io.github.bucket4j.distributed.expiration
Methods in io.github.bucket4j.distributed.expiration with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionlongBasedOnTimeForRefillingBucketUpToMaxExpirationAfterWriteStrategy.calculateTimeToLiveMillis(RemoteBucketState state, long currentTimeNanos) longFixedTtlExpirationAfterWriteStrategy.calculateTimeToLiveMillis(RemoteBucketState state, long currentTimeNanos) longNoneExpirationAfterWriteStrategy.calculateTimeToLiveMillis(RemoteBucketState state, long currentTimeNanos) -
Uses of RemoteBucketState in io.github.bucket4j.distributed.jdbc
Methods in io.github.bucket4j.distributed.jdbc with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionvoidCustomColumnProvider.setCustomField(K key, int paramIndex, PreparedStatement statement, RemoteBucketState state, long currentTimeNanos) -
Uses of RemoteBucketState in io.github.bucket4j.distributed.proxy.generic.compare_and_swap
Methods in io.github.bucket4j.distributed.proxy.generic.compare_and_swap with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionAsyncCompareAndSwapOperation.compareAndSwap(byte[] originalData, byte[] newData, RemoteBucketState newState, Optional<Long> timeoutNanos) Compares and swap data associated with keybooleanCompareAndSwapOperation.compareAndSwap(byte[] originalData, byte[] newData, RemoteBucketState newState, Optional<Long> timeoutNanos) Compares and swap data associated with key -
Uses of RemoteBucketState in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking
Methods in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionvoidLockBasedTransaction.create(byte[] data, RemoteBucketState state, Optional<Long> timeoutNanos) Creates the data by the key associated with this transaction.voidLockBasedTransaction.update(byte[] data, RemoteBucketState newState, Optional<Long> timeoutNanos) Updates the data by the key associated with this transaction. -
Uses of RemoteBucketState in io.github.bucket4j.distributed.proxy.generic.select_for_update
Methods in io.github.bucket4j.distributed.proxy.generic.select_for_update with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionvoidSelectForUpdateBasedTransaction.update(byte[] data, RemoteBucketState newState, Optional<Long> timeoutNanos) Updates the data by the key associated with this transaction. -
Uses of RemoteBucketState in io.github.bucket4j.distributed.remote
Fields in io.github.bucket4j.distributed.remote with type parameters of type RemoteBucketStateModifier and TypeFieldDescriptionstatic final SerializationHandle<RemoteBucketState>RemoteBucketState.SERIALIZATION_HANDLEMethods in io.github.bucket4j.distributed.remote that return RemoteBucketStateModifier and TypeMethodDescriptionRemoteBucketState.copy()MutableBucketEntry.get()RemoteVerboseResult.getState()Methods in io.github.bucket4j.distributed.remote with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionbooleanRemoteBucketState.equalsByContent(RemoteBucketState other) voidMutableBucketEntry.set(RemoteBucketState state) protected abstract voidAbstractBinaryTransaction.setRawState(byte[] newStateBytes, RemoteBucketState newState) Constructors in io.github.bucket4j.distributed.remote with parameters of type RemoteBucketStateModifierConstructorDescriptionRemoteVerboseResult(long operationTimeNanos, int resultTypeId, T value, RemoteBucketState state) -
Uses of RemoteBucketState in io.github.bucket4j.distributed.remote.commands
Methods in io.github.bucket4j.distributed.remote.commands that return types with arguments of type RemoteBucketStateModifier and TypeMethodDescriptionCreateSnapshotCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) Methods in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionlongCreateSnapshotCommand.getConsumedTokens(RemoteBucketState result) -
Uses of RemoteBucketState in io.github.bucket4j.distributed.serialization
Methods in io.github.bucket4j.distributed.serialization that return RemoteBucketStateModifier and TypeMethodDescriptionstatic RemoteBucketStateInternalSerializationHelper.deserializeState(byte[] bytes) Methods in io.github.bucket4j.distributed.serialization with parameters of type RemoteBucketStateModifier and TypeMethodDescriptionstatic byte[]InternalSerializationHelper.serializeState(RemoteBucketState state, Version backwardCompatibilityVersion)