public class NodePoolNode extends ZooKeeperObject
Constructor and Description |
---|
NodePoolNode(NodePool nodePool,
String id) |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getHostKey() |
List<String> |
getHostKeys() |
String |
getJenkinsLabel()
Get Jenkins's version of the node label
|
String |
getName() |
String |
getNPType()
Get labeled type of node, according to NodePool
|
Integer |
getPort() |
void |
release()
Mark the node as being used and release it.
|
void |
setInUse() |
String |
toString() |
createZNode, delete, exists, getFromZK, getJson, getPath, getZKID, setPath, setZKID, updateFromMap, updateFromZK, writeToZK
public String getNPType()
public String getJenkinsLabel()
public String getName()
public String getHost()
public Integer getPort()
public String getHostKey()
Copyright © 2016–2018. All rights reserved.