public class AddTokensCommand extends Object implements GridCommand<Nothing>
Modifier and Type | Field and Description |
---|---|
static SerializationHandle<AddTokensCommand> |
SERIALIZATION_HANDLE |
Constructor and Description |
---|
AddTokensCommand(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<AddTokensCommand> 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.