Class ClusterStateContext

java.lang.Object
org.apache.storm.cluster.ClusterStateContext

public class ClusterStateContext extends Object
This class is intended to provide runtime-context to StateStorageFactory implementors, giving information such as what daemon is creating it.
  • Constructor Details

    • ClusterStateContext

      public ClusterStateContext()
    • ClusterStateContext

      public ClusterStateContext(DaemonType daemonType, Map<String,Object> conf)
  • Method Details

    • getDaemonType

      public DaemonType getDaemonType()
    • getDefaultZkAcls

      public List<org.apache.storm.shade.org.apache.zookeeper.data.ACL> getDefaultZkAcls()
    • getZkSecretAcls

      public List<org.apache.storm.shade.org.apache.zookeeper.data.ACL> getZkSecretAcls(WorkerTokenServiceType type)