Uses of Class
io.github.bucket4j.distributed.remote.RemoteBucketState
-
-
Uses of RemoteBucketState in io.github.bucket4j.distributed
Methods in io.github.bucket4j.distributed with parameters of type RemoteBucketState Modifier and Type Method Description longExpirationAfterWriteStrategy. 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.proxy.generic
Methods in io.github.bucket4j.distributed.proxy.generic that return RemoteBucketState Modifier and Type Method Description RemoteBucketStateGenericEntry. get()RemoteBucketStateGenericEntry. getModifiedState()Methods in io.github.bucket4j.distributed.proxy.generic with parameters of type RemoteBucketState Modifier and Type Method Description voidGenericEntry. set(RemoteBucketState state) -
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 RemoteBucketState Modifier and Type Method Description CompletableFuture<Boolean>AsyncCompareAndSwapOperation. compareAndSwap(byte[] originalData, byte[] newData, RemoteBucketState newState)Compares and swap data associated with keybooleanCompareAndSwapOperation. compareAndSwap(byte[] originalData, byte[] newData, RemoteBucketState newState)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 RemoteBucketState Modifier and Type Method Description voidLockBasedTransaction. create(byte[] data, RemoteBucketState state)Creates the data by the key associated with this transaction.voidLockBasedTransaction. update(byte[] data, RemoteBucketState newState)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 RemoteBucketState Modifier and Type Method Description voidSelectForUpdateBasedTransaction. update(byte[] data, RemoteBucketState newState)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 RemoteBucketState Modifier and Type Field Description static SerializationHandle<RemoteBucketState>RemoteBucketState. SERIALIZATION_HANDLEMethods in io.github.bucket4j.distributed.remote that return RemoteBucketState Modifier and Type Method Description RemoteBucketStateRemoteBucketState. copy()RemoteBucketStateAbstractBinaryTransaction. get()RemoteBucketStateMutableBucketEntry. get()RemoteBucketStateRemoteVerboseResult. getState()Methods in io.github.bucket4j.distributed.remote with parameters of type RemoteBucketState Modifier and Type Method Description booleanRemoteBucketState. equalsByContent(RemoteBucketState other)voidAbstractBinaryTransaction. set(RemoteBucketState state)voidMutableBucketEntry. set(RemoteBucketState state)Constructors in io.github.bucket4j.distributed.remote with parameters of type RemoteBucketState Constructor Description RemoteVerboseResult(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 RemoteBucketState Modifier and Type Method Description RemoteBucketStateBucketEntryWrapper. get()Methods in io.github.bucket4j.distributed.remote.commands that return types with arguments of type RemoteBucketState Modifier and Type Method Description CommandResult<RemoteBucketState>CreateSnapshotCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)Methods in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteBucketState Modifier and Type Method Description longCreateSnapshotCommand. getConsumedTokens(RemoteBucketState result)voidBucketEntryWrapper. set(RemoteBucketState state)Constructors in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteBucketState Constructor Description BucketEntryWrapper(RemoteBucketState state) -
Uses of RemoteBucketState in io.github.bucket4j.distributed.serialization
Methods in io.github.bucket4j.distributed.serialization that return RemoteBucketState Modifier and Type Method Description static RemoteBucketStateInternalSerializationHelper. deserializeState(byte[] bytes)Methods in io.github.bucket4j.distributed.serialization with parameters of type RemoteBucketState Modifier and Type Method Description static byte[]InternalSerializationHelper. serializeState(RemoteBucketState state, Version backwardCompatibilityVersion)
-