|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.provider.zookeeper.util.Geo
public class Geo
| Constructor Summary | |
|---|---|
Geo()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getHost()
|
static java.net.URI |
getLocation()
|
static java.lang.String |
getNodeHost()
|
static boolean |
isLocal(java.lang.String path)
|
static boolean |
isOwnPublication(java.lang.String childPath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Geo()
| Method Detail |
|---|
public static boolean isLocal(java.lang.String path)
path - to be checked whether it's comes form local ZooKeeper server.
true if local, false otherwise.public static boolean isOwnPublication(java.lang.String childPath)
childPath - Child path to check whether is published by this very
ZooDiscovery instance.
public static java.net.URI getLocation()
public static java.lang.String getHost()
public static java.lang.String getNodeHost()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||