|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.String>
org.apache.felix.utils.properties.Properties
org.fusesource.fabric.jaas.ZookeeperProperties
public class ZookeeperProperties
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.felix.utils.properties.Properties |
|---|
org.apache.felix.utils.properties.Properties.Layout, org.apache.felix.utils.properties.Properties.PropertiesReader, org.apache.felix.utils.properties.Properties.PropertiesWriter |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher |
|---|
org.apache.zookeeper.Watcher.Event |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
protected java.lang.String |
path
|
protected org.linkedin.zookeeper.client.IZKClient |
zooKeeper
|
| Constructor Summary | |
|---|---|
ZookeeperProperties(org.linkedin.zookeeper.client.IZKClient zooKeeper,
java.lang.String path)
|
|
| Method Summary | |
|---|---|
protected void |
fetchData()
|
void |
onConnected()
|
void |
onDisconnected()
|
void |
process(org.apache.zookeeper.WatchedEvent watchedEvent)
|
void |
save()
|
| Methods inherited from class org.apache.felix.utils.properties.Properties |
|---|
clear, contains, entrySet, escapeJava, getFooter, getHeader, hex, load, load, load, load, loadLayout, put, remove, save, save, save, saveLayout, setFooter, setHeader, unescapeJava |
| Methods inherited from class java.util.AbstractMap |
|---|
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String path
protected org.linkedin.zookeeper.client.IZKClient zooKeeper
| Constructor Detail |
|---|
public ZookeeperProperties(org.linkedin.zookeeper.client.IZKClient zooKeeper,
java.lang.String path)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void save()
throws java.io.IOException
save in class org.apache.felix.utils.properties.Propertiesjava.io.IOExceptionpublic void process(org.apache.zookeeper.WatchedEvent watchedEvent)
process in interface org.apache.zookeeper.Watcher
protected void fetchData()
throws java.lang.Exception
java.lang.Exceptionpublic void onConnected()
onConnected in interface org.linkedin.zookeeper.client.LifecycleListenerpublic void onDisconnected()
onDisconnected in interface org.linkedin.zookeeper.client.LifecycleListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||