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