public class ServiceNodeImpl extends NodePath implements ServiceNode
| Constructor and Description |
|---|
ServiceNodeImpl(ZKBackend backend,
RootNodeImpl rootNode,
QName serviceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureExists() |
void |
ensureRemoved() |
boolean |
exists() |
EndpointNode |
getEndPoint(String endpoint) |
List<String> |
getEndpointNames() |
List<EndpointNode> |
getEndPoints() |
QName |
getServiceName() |
public ServiceNodeImpl(ZKBackend backend, RootNodeImpl rootNode, QName serviceName)
public QName getServiceName()
getServiceName in interface ServiceNodepublic boolean exists()
throws ServiceLocatorException,
InterruptedException
exists in interface ServiceNodeServiceLocatorExceptionInterruptedExceptionpublic void ensureExists()
throws ServiceLocatorException,
InterruptedException
ensureExists in interface ServiceNodeServiceLocatorExceptionInterruptedExceptionpublic void ensureRemoved()
throws ServiceLocatorException,
InterruptedException
ensureRemoved in interface ServiceNodeServiceLocatorExceptionInterruptedExceptionpublic List<String> getEndpointNames() throws ServiceLocatorException, InterruptedException
getEndpointNames in interface ServiceNodeServiceLocatorExceptionInterruptedExceptionpublic List<EndpointNode> getEndPoints() throws ServiceLocatorException, InterruptedException
getEndPoints in interface ServiceNodeServiceLocatorExceptionInterruptedExceptionpublic EndpointNode getEndPoint(String endpoint)
getEndPoint in interface ServiceNodeCopyright © 2011–2017 Talend Inc.. All rights reserved.