@Experimental public abstract class SingleGfshCommand extends GfshCommand
EXPERIMENTAL
Constructor and Description |
---|
SingleGfshCommand() |
Modifier and Type | Method and Description |
---|---|
abstract void |
updateClusterConfig(java.lang.String group,
CacheConfig config,
java.lang.Object configObject)
implement this method for updating the cluster configuration of the group
the implementation should update the passed in config object with appropriate changes
if for any reason config can't be updated.
|
authorize, authorize, authorize, executeAndGetFunctionResult, executeFunction, executeFunction, executeFunctionAndGetFunctionResult, findAnyMembersForRegion, findMember, findMembers, findMembersForRegion, findMembersIncludingLocators, getAllMembers, getAllNormalMembers, getCache, getConfigurationPersistenceService, getMember, getMembers, getMembersFunctionExecutor, getMembersIncludingLocators, getNormalMembersWithSameOrNewerVersion, getSubject, isConnectedAndReady, isOnlineCommandAvailable, isSharedConfigurationRunning, setCache
public abstract void updateClusterConfig(java.lang.String group, CacheConfig config, java.lang.Object configObject)
group
- the group name of the cluster config, never nullconfig
- the configuration object, never nullconfigObject
- the return value of CommandResult.getConfigObject. CommandResult is the
return
value of your command method.
it should throw some RuntimeException if update failed.