public class AddTokensCommand extends Object implements GridCommand<Nothing>
| Constructor and Description |
|---|
AddTokensCommand(long tokensToAdd) |
| Modifier and Type | Method and Description |
|---|---|
Nothing |
execute(GridBucketState state,
long currentTimeNanos) |
boolean |
isBucketStateModified() |
public Nothing execute(GridBucketState state, long currentTimeNanos)
execute in interface GridCommand<Nothing>public boolean isBucketStateModified()
isBucketStateModified in interface GridCommand<Nothing>Copyright © 2018. All rights reserved.