Class HelixPropertyStoreConfig


  • public class HelixPropertyStoreConfig
    extends java.lang.Object
    The config that is needed to operate a HelixPropertyStore.
    • 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
      • 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)