public class ForceAddTokensCommand extends Object implements GridCommand<Nothing>
Modifier and Type | Field and Description |
---|---|
static SerializationHandle<ForceAddTokensCommand> |
SERIALIZATION_HANDLE |
Constructor and Description |
---|
ForceAddTokensCommand(long tokensToAdd) |
Modifier and Type | Method and Description |
---|---|
Nothing |
execute(GridBucketState state,
long currentTimeNanos) |
long |
getTokensToAdd() |
boolean |
isBucketStateModified() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asVerbose
public static final SerializationHandle<ForceAddTokensCommand> SERIALIZATION_HANDLE
public Nothing execute(GridBucketState state, long currentTimeNanos)
execute
in interface GridCommand<Nothing>
public boolean isBucketStateModified()
isBucketStateModified
in interface GridCommand<Nothing>
public long getTokensToAdd()
Copyright © 2021. All rights reserved.