Module io.github.bucket4j.core
Class AbstractBinaryTransaction
java.lang.Object
io.github.bucket4j.distributed.remote.AbstractBinaryTransaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]execute()abstract booleanexists()protected longprotected ExpirationAfterWriteStrategyprotected abstract byte[]protected Request<?>protected abstract voidsetRawState(byte[] newStateBytes, RemoteBucketState newState)
-
Constructor Details
-
AbstractBinaryTransaction
protected AbstractBinaryTransaction(byte[] requestBytes)
-
-
Method Details
-
execute
public byte[] execute() -
getRawState
protected abstract byte[] getRawState() -
setRawState
-
exists
public abstract boolean exists() -
getRequest
-
getExpirationStrategy
-
getCurrentTimeNanos
protected long getCurrentTimeNanos()
-