public class HelixPropertyStoreConfig
extends java.lang.Object
HelixPropertyStore
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HELIX_PROPERTY_STORE_PREFIX |
static java.lang.String |
HELIX_ROOT_PATH |
static java.lang.String |
HELIX_ZK_CLIENT_CONNECTION_TIMEOUT_MS |
static java.lang.String |
HELIX_ZK_CLIENT_SESSION_TIMEOUT_MS |
java.lang.String |
rootPath
The root path of helix property store in the ZooKeeper.
|
int |
zkClientConnectionTimeoutMs
Time in ms to time out a connection to a ZooKeeper server.
|
int |
zkClientSessionTimeoutMs
Time in ms defines disconnection tolerance by a session.
|
Constructor and Description |
---|
HelixPropertyStoreConfig(VerifiableProperties verifiableProperties) |
public static final java.lang.String HELIX_PROPERTY_STORE_PREFIX
public static final java.lang.String HELIX_ZK_CLIENT_CONNECTION_TIMEOUT_MS
public static final java.lang.String HELIX_ZK_CLIENT_SESSION_TIMEOUT_MS
public static final java.lang.String HELIX_ROOT_PATH
@Config(value="helix.property.store.zk.client.connection.timeout.ms") @Default(value="20 * 1000") public final int zkClientConnectionTimeoutMs
@Config(value="helix.property.store.zk.client.session.timeout.ms") @Default(value="20 * 1000") public final int zkClientSessionTimeoutMs
@Config(value="helix.property.store.root.path") @Default(value="/ambry/defaultCluster/helixPropertyStore") public final java.lang.String rootPath
/
, and must not end with /
.
It is recommended to make root path in the form of /ambry/<clustername>/helixPropertyStore
public HelixPropertyStoreConfig(VerifiableProperties verifiableProperties)