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 and Description |
---|
ClusterStateContext() |
ClusterStateContext(DaemonType daemonType,
Map<String,Object> conf) |
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) |
public ClusterStateContext()
public ClusterStateContext(DaemonType daemonType, Map<String,Object> conf)
public DaemonType getDaemonType()
public List<org.apache.storm.shade.org.apache.zookeeper.data.ACL> getDefaultZkAcls()
public List<org.apache.storm.shade.org.apache.zookeeper.data.ACL> getZkSecretAcls(WorkerTokenServiceType type)
Copyright © 2022 The Apache Software Foundation. All rights reserved.