@Experimental public interface ConfigurationPersistenceService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLUSTER_CONFIG |
Modifier and Type | Method and Description |
---|---|
CacheConfig |
getCacheConfig(java.lang.String group)
retrieves the configuration object of a member group
|
void |
updateCacheConfig(java.lang.String group,
java.util.function.UnaryOperator<CacheConfig> mutator)
update the cluster configuration of a member group
|
static final java.lang.String CLUSTER_CONFIG
CacheConfig getCacheConfig(java.lang.String group)
group
- the member group name, if null, then "cluster" is assumedvoid updateCacheConfig(java.lang.String group, java.util.function.UnaryOperator<CacheConfig> mutator)
group
- the member group name, if null, then "cluster" is assumedmutator
- the change you want to apply to the configuration