Package org.apache.storm.cluster

# 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 Summary

  Constructors
  Constructor
  Description
  `ClusterStateContext()`
  `ClusterStateContext(DaemonType daemonType, Map<String,Object> conf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DaemonType`
  `getDaemonType()`
  `List<org.apache.storm.shade.org.apache.zookeeper.data.ACL>`
  `getDefaultZkAcls()`
  `List<org.apache.storm.shade.org.apache.zookeeper.data.ACL>`
  `getZkSecretAcls(WorkerTokenServiceType type)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)