@Experimental public abstract class SingleGfshCommand extends GfshCommand
EXPERIMENTAL
Constructor and Description |
---|
SingleGfshCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
updateConfigForGroup(String group,
CacheConfig config,
Object configObject)
Implement this method for updating the configuration of a given 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, getManagementService, getMember, getMembers, getMembersFunctionExecutor, getMembersIncludingLocators, getNormalMembersWithSameOrNewerVersion, getSubject, isOnlineCommandAvailable, isSharedConfigurationRunning, setCache
public boolean updateConfigForGroup(String group, CacheConfig config, Object configObject)
group
- the name of the group to update cluster config forconfig
- the configuration object, never nullconfigObject
- the return value of CommandResult.getConfigObject. CommandResult is the
return value of your command method.