public class Geo extends Object
| Constructor and Description |
|---|
Geo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHost() |
static URI |
getLocation() |
static String |
getNodeHost() |
static boolean |
isLocal(String path) |
static boolean |
isOwnPublication(String childPath) |
public static boolean isLocal(String path)
path - to be checked whether it's comes form local ZooKeeper server.true if local, false otherwise.public static boolean isOwnPublication(String childPath)
childPath - Child path to check whether is published by this very
ZooDiscovery instance.public static URI getLocation()
public static String getHost()
public static String getNodeHost()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.