Class Geo
- java.lang.Object
- 
- org.eclipse.ecf.provider.zookeeper.util.Geo
 
- 
 public class Geo extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Geo()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetHost()static URIgetLocation()static StringgetNodeHost()static booleanisLocal(String path)static booleanisOwnPublication(String childPath)
 
- 
- 
- 
Method Detail- 
isLocalpublic static boolean isLocal(String path) - Parameters:
- path- to be checked whether it's comes form local ZooKeeper server.
- Returns:
- trueif local,- falseotherwise.
 
 - 
isOwnPublicationpublic static boolean isOwnPublication(String childPath) - Parameters:
- childPath- Child path to check whether is published by this very ZooDiscovery instance.
- Returns:
- true if published by this container, false otherwise.
 
 - 
getLocationpublic static URI getLocation() 
 - 
getHostpublic static String getHost() 
 - 
getNodeHostpublic static String getNodeHost() 
 
- 
 
-