public class VerboseCommand<T> extends Object implements RemoteCommand<RemoteVerboseResult<T>>, ComparableByContent<VerboseCommand<?>>
| Modifier and Type | Field and Description |
|---|---|
static SerializationHandle<VerboseCommand<?>> |
SERIALIZATION_HANDLE |
| Constructor and Description |
|---|
VerboseCommand(RemoteCommand<T> targetCommand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsByContent(VerboseCommand<?> other) |
long |
estimateTokensToConsume() |
CommandResult<RemoteVerboseResult<T>> |
execute(MutableBucketEntry mutableEntry,
long currentTimeNanos) |
long |
getConsumedTokens(RemoteVerboseResult<T> result) |
Version |
getRequiredVersion() |
SerializationHandle<RemoteCommand<?>> |
getSerializationHandle() |
RemoteCommand<T> |
getTargetCommand() |
boolean |
isImmediateSyncRequired(long unsynchronizedTokens,
long nanosSinceLastSync) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasVerbose, deserialize, fromJsonCompatibleSnapshot, isInitializationCommand, serialize, toJsonCompatibleSnapshotequalspublic static final SerializationHandle<VerboseCommand<?>> SERIALIZATION_HANDLE
public VerboseCommand(RemoteCommand<T> targetCommand)
public RemoteCommand<T> getTargetCommand()
public CommandResult<RemoteVerboseResult<T>> execute(MutableBucketEntry mutableEntry, long currentTimeNanos)
execute in interface RemoteCommand<RemoteVerboseResult<T>>public SerializationHandle<RemoteCommand<?>> getSerializationHandle()
getSerializationHandle in interface RemoteCommand<RemoteVerboseResult<T>>public boolean equalsByContent(VerboseCommand<?> other)
equalsByContent in interface ComparableByContent<VerboseCommand<?>>public boolean isImmediateSyncRequired(long unsynchronizedTokens,
long nanosSinceLastSync)
isImmediateSyncRequired in interface RemoteCommand<RemoteVerboseResult<T>>public long estimateTokensToConsume()
estimateTokensToConsume in interface RemoteCommand<RemoteVerboseResult<T>>public long getConsumedTokens(RemoteVerboseResult<T> result)
getConsumedTokens in interface RemoteCommand<RemoteVerboseResult<T>>public Version getRequiredVersion()
getRequiredVersion in interface RemoteCommand<RemoteVerboseResult<T>>Copyright © 2022. All rights reserved.