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