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