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