storm.kafka
Class ZkState
java.lang.Object
storm.kafka.ZkState
public class ZkState
- extends Object
Field Summary |
static org.slf4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
ZkState
public ZkState(Map stateConf)
getCurator
public org.apache.curator.framework.CuratorFramework getCurator()
writeJSON
public void writeJSON(String path,
Map<Object,Object> data)
writeBytes
public void writeBytes(String path,
byte[] bytes)
readJSON
public Map<Object,Object> readJSON(String path)
readBytes
public byte[] readBytes(String path)
close
public void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.