public class ClusterMapConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AMBRY_STATE_MODEL_DEF |
java.lang.String |
clusterMapClusterAgentsFactory
The clustermap agent factory to use for instantiating the Cluster Map and the Cluster Participant.
|
java.lang.String |
clusterMapClusterName
The name of the associated cluster for this node.
|
java.lang.Long |
clustermapCurrentXid
The current xid for this cluster manager.
|
java.lang.String |
clusterMapDatacenterName
The name of the associated datacenter for this node.
|
java.lang.String |
clusterMapDcsZkConnectStrings
Serialized json containing the information about all the zk hosts that the Helix based cluster manager should
be aware of.
|
java.lang.String |
clusterMapDefaultPartitionClass
The partition class to assign to a partition if one is not supplied
|
boolean |
clusterMapEnablePartitionOverride
Indicate if cluster manager enables override on properties of partition.
|
int |
clusterMapFixedTimeoutDatanodeErrorThreshold
The threshold for the number of consecutive errors to tolerate for a datanode.
|
int |
clusterMapFixedTimeoutDataNodeRetryBackoffMs
The time to wait before a datanode is retried after it has been determined to be down.
|
int |
clusterMapFixedTimeoutDiskErrorThreshold
The threshold for the number of errors to tolerate for a disk.
|
int |
clusterMapFixedTimeoutDiskRetryBackoffMs
The time to wait before a disk is retried after it has been determined to be down.
|
int |
clusterMapFixedTimeoutReplicaErrorThreshold
The threshold for the number of errors to tolerate for a replica.
|
int |
clusterMapFixedTimeoutReplicaRetryBackoffMs
The time to wait before a replica is retried after it has been determined to be down.
|
java.lang.String |
clusterMapHostName
The host name associated with this node.
|
boolean |
clustermapListenCrossColo
If set to false, the Helix based cluster manager will only listen to changes to the cluster in the local colo.
|
java.lang.Integer |
clusterMapPort
The port number associated with this node.
|
boolean |
clusterMapResolveHostnames
Indicates if a reverse DNS lookup should be used to try and obtain the fully qualified domain names of cluster map
host entries.
|
java.lang.String |
clusterMapResourceStatePolicyFactory
The factory class used to get the resource state policies.
|
java.lang.String |
clusterMapSslEnabledDatacenters
List of Datacenters to which local node needs SSL encryption to communicate
|
java.lang.String |
clustermapStateModelDefinition |
static java.lang.String |
DEFAULT_STATE_MODEL_DEF |
Constructor and Description |
---|
ClusterMapConfig(VerifiableProperties verifiableProperties) |
public static final java.lang.String DEFAULT_STATE_MODEL_DEF
public static final java.lang.String AMBRY_STATE_MODEL_DEF
@Config(value="clustermap.resourcestatepolicy.factory") @Default(value="com.github.ambry.clustermap.FixedBackoffResourceStatePolicyFactory") public final java.lang.String clusterMapResourceStatePolicyFactory
@Config(value="clustermap.fixedtimeout.datanode.error.threshold") @Default(value="6") public final int clusterMapFixedTimeoutDatanodeErrorThreshold
@Config(value="clustermap.fixedtimeout.datanode.retry.backoff.ms") @Default(value="5 * 60 * 1000") public final int clusterMapFixedTimeoutDataNodeRetryBackoffMs
@Config(value="clustermap.fixedtimeout.disk.error.threshold") @Default(value="1") public final int clusterMapFixedTimeoutDiskErrorThreshold
@Config(value="clustermap.fixedtimeout.disk.retry.backoff.ms") @Default(value="10 * 60 * 1000") public final int clusterMapFixedTimeoutDiskRetryBackoffMs
@Config(value="clustermap.fixedtimeout.replica.error.threshold") @Default(value="1") public final int clusterMapFixedTimeoutReplicaErrorThreshold
@Config(value="clustermap.fixedtimeout.replica.retry.backoff.ms") @Default(value="10 * 60 * 1000") public final int clusterMapFixedTimeoutReplicaRetryBackoffMs
@Config(value="clustermap.ssl.enabled.datacenters") @Default(value="") public final java.lang.String clusterMapSslEnabledDatacenters
@Config(value="clustermap.clusteragents.factory") @Default(value="com.github.ambry.clustermap.StaticClusterAgentsFactory") public final java.lang.String clusterMapClusterAgentsFactory
@Config(value="clustermap.dcs.zk.connect.strings") @Default(value="") public final java.lang.String clusterMapDcsZkConnectStrings
@Config(value="clustermap.cluster.name") public final java.lang.String clusterMapClusterName
@Config(value="clustermap.datacenter.name") public final java.lang.String clusterMapDatacenterName
@Config(value="clustermap.host.name") public final java.lang.String clusterMapHostName
@Config(value="clustermap.port") @Default(value="null") public final java.lang.Integer clusterMapPort
@Config(value="clustermap.resolve.hostnames") @Default(value="true") public final boolean clusterMapResolveHostnames
@Config(value="clustermap.default.partition.class") @Default(value="max-replicas-all-datacenters") public final java.lang.String clusterMapDefaultPartitionClass
@Config(value="clustermap.current.xid") @Default(value="Long.MAX_VALUE") public final java.lang.Long clustermapCurrentXid
@Config(value="clustermap.enable.partition.override") @Default(value="false") public final boolean clusterMapEnablePartitionOverride
@Config(value="clustermap.listen.cross.colo") @Default(value="true") public final boolean clustermapListenCrossColo
public ClusterMapConfig(VerifiableProperties verifiableProperties)