@Experimental public interface ClusterManagementService
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_FLAG |
Modifier and Type | Method and Description |
---|---|
default ClusterManagementResult |
create(CacheElement config) |
ClusterManagementResult |
create(CacheElement config,
String group)
This method will create the element on all the applicable members in the cluster and persist
the configuration in the cluster configuration if persistence is enabled.
|
default ClusterManagementResult |
delete(CacheElement config) |
ClusterManagementResult |
delete(CacheElement config,
String group)
This method will delete the element on all the applicable members in the cluster and update the
configuration in the cluster configuration if persistence is enabled.
|
default ClusterManagementResult |
update(CacheElement config) |
ClusterManagementResult |
update(CacheElement config,
String group)
This method will update the element on all the applicable members in the cluster and persist
the updated configuration in the cluster configuration if persistence is enabled.
|
static final String FEATURE_FLAG
ClusterManagementResult create(CacheElement config, String group)
config
- this holds the configuration attributes of the element to be created on the
clustergroup
- the server group to which this config appliesCacheElement
default ClusterManagementResult create(CacheElement config)
ClusterManagementResult delete(CacheElement config, String group)
config
- this holds the configuration attributes of the element to be deleted on the
clustergroup
- the server group to which this config appliesIllegalArgumentException,
- NoMemberException, EntityExistsExceptionCacheElement
default ClusterManagementResult delete(CacheElement config)
ClusterManagementResult update(CacheElement config, String group)
config
- this holds the configuration attributes of the element to be updated on the
clustergroup
- the server group to which this config appliesIllegalArgumentException,
- NoMemberException, EntityExistsExceptionCacheElement
default ClusterManagementResult update(CacheElement config)