public class GetConfigurationCommand extends Object implements RemoteCommand<BucketConfiguration>, ComparableByContent<GetConfigurationCommand>
| Modifier and Type | Field and Description |
|---|---|
static SerializationHandle<GetConfigurationCommand> |
SERIALIZATION_HANDLE |
| Constructor and Description |
|---|
GetConfigurationCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsByContent(GetConfigurationCommand other) |
long |
estimateTokensToConsume() |
CommandResult<BucketConfiguration> |
execute(MutableBucketEntry mutableEntry,
long currentTimeNanos) |
long |
getConsumedTokens(BucketConfiguration result) |
Version |
getRequiredVersion() |
SerializationHandle |
getSerializationHandle() |
boolean |
isImmediateSyncRequired(long unsynchronizedTokens,
long nanosSinceLastSync) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasVerbose, canBeMerged, deserialize, fromJsonCompatibleSnapshot, getMergedCommandsCount, isInitializationCommand, isMerged, mergeInto, serialize, toJsonCompatibleSnapshot, toMergedCommand, unwrapOneResultequalspublic static SerializationHandle<GetConfigurationCommand> SERIALIZATION_HANDLE
public CommandResult<BucketConfiguration> execute(MutableBucketEntry mutableEntry, long currentTimeNanos)
execute in interface RemoteCommand<BucketConfiguration>public SerializationHandle getSerializationHandle()
getSerializationHandle in interface RemoteCommand<BucketConfiguration>public boolean equalsByContent(GetConfigurationCommand other)
equalsByContent in interface ComparableByContent<GetConfigurationCommand>public boolean isImmediateSyncRequired(long unsynchronizedTokens,
long nanosSinceLastSync)
isImmediateSyncRequired in interface RemoteCommand<BucketConfiguration>public long estimateTokensToConsume()
estimateTokensToConsume in interface RemoteCommand<BucketConfiguration>public long getConsumedTokens(BucketConfiguration result)
getConsumedTokens in interface RemoteCommand<BucketConfiguration>public Version getRequiredVersion()
getRequiredVersion in interface RemoteCommand<BucketConfiguration>Copyright © 2024. All rights reserved.