Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
PNCounterConfig |
Config.findPNCounterConfig(String name)
Returns a read-only
PNCounterConfig
configuration for the given name. |
PNCounterConfig |
Config.getPNCounterConfig(String name)
Returns the
PNCounterConfig 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.setQuorumName(String quorumName)
Sets the quorum name for operations.
|
PNCounterConfig |
PNCounterConfig.setReplicaCount(int replicaCount)
Sets the number of replicas on which state for this PN counter will
be kept.
|
PNCounterConfig |
PNCounterConfig.setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics for this PN counter
|
Modifier and Type | Method and Description |
---|---|
Map<String,PNCounterConfig> |
Config.getPNCounterConfigs()
Returns the map of PN counter configurations, mapped by config
name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addPNCounterConfig(PNCounterConfig pnCounterConfig)
Adds the PN counter configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setPNCounterConfigs(Map<String,PNCounterConfig> pnCounterConfigs)
Sets the map of PN counter configurations, mapped by config name.
|
Constructor and Description |
---|
PNCounterConfig(PNCounterConfig config) |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.