Gemfire JavaDocs_test
Package org.apache.geode.distributed
Interface ConfigurationPersistenceService
-
@Experimental public interface ConfigurationPersistenceService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLUSTER_CONFIG
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheConfig
getCacheConfig(java.lang.String group)
retrieves the configuration object of a member groupCacheConfig
getCacheConfig(java.lang.String group, boolean createNew)
java.util.Set<java.lang.String>
getGroups()
retrieves all the group names in the clustervoid
updateCacheConfig(java.lang.String group, java.util.function.UnaryOperator<CacheConfig> mutator)
update the cluster configuration of a member group
-
-
-
Field Detail
-
CLUSTER_CONFIG
static final java.lang.String CLUSTER_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGroups
java.util.Set<java.lang.String> getGroups()
retrieves all the group names in the cluster- Returns:
- a Set of all the group names in the cluster
-
getCacheConfig
CacheConfig getCacheConfig(java.lang.String group)
retrieves the configuration object of a member group- Parameters:
group
- the member group name, if null, then "cluster" is assumed- Returns:
- the configuration object
-
getCacheConfig
CacheConfig getCacheConfig(java.lang.String group, boolean createNew)
-
updateCacheConfig
void updateCacheConfig(java.lang.String group, java.util.function.UnaryOperator<CacheConfig> mutator)
update the cluster configuration of a member group- Parameters:
group
- the member group name, if null, then "cluster" is assumedmutator
- the change you want to apply to the configuration. mutator returns null indicating that no update is done to the CacheConfig, or it returns the updated CacheConfig
-
-