Uses of Class
com.hazelcast.config.PNCounterConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of PNCounterConfig in com.hazelcast.config
Methods in com.hazelcast.config that return PNCounterConfig Modifier and Type Method Description PNCounterConfig
Config. findPNCounterConfig(String name)
Returns a read-onlyPNCounterConfig
configuration for the given name.PNCounterConfig
Config. getPNCounterConfig(String name)
Returns thePNCounterConfig
for the given name, creating one if necessary and adding it to the collection of known configurations.PNCounterConfig
PNCounterConfig. setName(String name)
Sets the name of the PN counter.PNCounterConfig
PNCounterConfig. setReplicaCount(int replicaCount)
Sets the number of replicas on which state for this PN counter will be kept.PNCounterConfig
PNCounterConfig. setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.PNCounterConfig
PNCounterConfig. setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics for this PN counterMethods in com.hazelcast.config that return types with arguments of type PNCounterConfig Modifier and Type Method Description Map<String,PNCounterConfig>
Config. getPNCounterConfigs()
Returns the map of PN counter configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type PNCounterConfig Modifier and Type Method Description Config
Config. addPNCounterConfig(PNCounterConfig pnCounterConfig)
Adds the PN counter configuration.Method parameters in com.hazelcast.config with type arguments of type PNCounterConfig Modifier and Type Method Description Config
Config. setPNCounterConfigs(Map<String,PNCounterConfig> pnCounterConfigs)
Sets the map of PN counter configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type PNCounterConfig Constructor Description PNCounterConfig(PNCounterConfig config)