Class HelixPartitionStateAccessor

java.lang.Object
com.linkedin.venice.helix.HelixPartitionStateAccessor
Direct Known Subclasses:
HelixPartitionStatusAccessor

public abstract class HelixPartitionStateAccessor extends Object
A parent class to access Helix customized partition state, which is different from the states defined in the state model. The partition state is stored on Zookeeper. This class provides the way to read/write the state. Note this class is only an accessor but not a repository so it will not cache anything in local memory. In other words it's stateless and Thread-Safe. The data structure on ZK would be: /VeniceClusterName/INSTANCES/instanceName/CUSTOMIZEDSTATE/$topic -> customized state for $topic
  • Constructor Details

    • HelixPartitionStateAccessor

      public HelixPartitionStateAccessor(org.apache.helix.HelixManager helixManager, String instanceId)
  • Method Details