Package com.github.ambry.config
Class HelixPropertyStoreConfig
- java.lang.Object
-
- com.github.ambry.config.HelixPropertyStoreConfig
-
public class HelixPropertyStoreConfig extends java.lang.Object
The config that is needed to operate aHelixPropertyStore
.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description HelixPropertyStoreConfig(VerifiableProperties verifiableProperties)
-
-
-
Field Detail
-
HELIX_PROPERTY_STORE_PREFIX
public static final java.lang.String HELIX_PROPERTY_STORE_PREFIX
- See Also:
- Constant Field Values
-
HELIX_ZK_CLIENT_CONNECTION_TIMEOUT_MS
public static final java.lang.String HELIX_ZK_CLIENT_CONNECTION_TIMEOUT_MS
- See Also:
- Constant Field Values
-
HELIX_ZK_CLIENT_SESSION_TIMEOUT_MS
public static final java.lang.String HELIX_ZK_CLIENT_SESSION_TIMEOUT_MS
- See Also:
- Constant Field Values
-
HELIX_ROOT_PATH
public static final java.lang.String HELIX_ROOT_PATH
- See Also:
- Constant Field Values
-
zkClientConnectionTimeoutMs
@Config("helix.property.store.zk.client.connection.timeout.ms") @Default("20 * 1000") public final int zkClientConnectionTimeoutMs
Time in ms to time out a connection to a ZooKeeper server.
-
zkClientSessionTimeoutMs
@Config("helix.property.store.zk.client.session.timeout.ms") @Default("20 * 1000") public final int zkClientSessionTimeoutMs
Time in ms defines disconnection tolerance by a session. I.e., if reconnected within this time, it will be considered as the same session.
-
rootPath
@Config("helix.property.store.root.path") @Default("/ambry/defaultCluster/helixPropertyStore") public final java.lang.String rootPath
The root path of helix property store in the ZooKeeper. Must start with/
, and must not end with/
. It is recommended to make root path in the form of/ambry/<clustername>/helixPropertyStore
-
-
Constructor Detail
-
HelixPropertyStoreConfig
public HelixPropertyStoreConfig(VerifiableProperties verifiableProperties)
-
-