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