org.talend.esb.servicelocator.client.internal.zk
Class EndpointNodeImpl
java.lang.Object
org.talend.esb.servicelocator.client.internal.NodePath
org.talend.esb.servicelocator.client.internal.zk.EndpointNodeImpl
- All Implemented Interfaces:
- EndpointNode
public class EndpointNodeImpl
- extends NodePath
- implements EndpointNode
| Fields inherited from class org.talend.esb.servicelocator.client.internal.NodePath |
SEPARATOR |
LIVE
public static final String LIVE
- See Also:
- Constant Field Values
EndpointNodeImpl
public EndpointNodeImpl(ZKBackend backend,
ServiceNodeImpl serviceNode,
String endpointName)
getEndpointName
public String getEndpointName()
- Specified by:
getEndpointName in interface EndpointNode
exists
public boolean exists()
throws ServiceLocatorException,
InterruptedException
- Specified by:
exists in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
ensureExists
public void ensureExists(byte[] content)
throws ServiceLocatorException,
InterruptedException
- Specified by:
ensureExists in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
ensureRemoved
public void ensureRemoved()
throws ServiceLocatorException,
InterruptedException
- Specified by:
ensureRemoved in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
setLive
public void setLive(boolean persistent)
throws ServiceLocatorException,
InterruptedException
- Specified by:
setLive in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
setOffline
public void setOffline()
throws ServiceLocatorException,
InterruptedException
- Specified by:
setOffline in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
getContent
public byte[] getContent()
throws ServiceLocatorException,
InterruptedException
- Specified by:
getContent in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
setContent
public void setContent(byte[] content)
throws ServiceLocatorException,
InterruptedException
- Specified by:
setContent in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
isLive
public boolean isLive()
throws ServiceLocatorException,
InterruptedException
- Specified by:
isLive in interface EndpointNode
- Throws:
ServiceLocatorException
InterruptedException
Copyright © 2011–2013 Talend Inc.. All rights reserved.