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 and Description
    `ClusterStateContext()`
    `ClusterStateContext(DaemonType daemonType, Map<String,Object> conf)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### ClusterStateContext

          public ClusterStateContext()

    - #### ClusterStateContext

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

  - ### Method Detail

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

Copyright © 2019 The Apache Software Foundation. All rights reserved.