public static class ServerModel.DcsMaster extends Object
Constructor and Description |
---|
ServerModel.DcsMaster()
Default constructor
|
ServerModel.DcsMaster(String hostName,
String listenerPort,
String listenerPortRange,
String startTimestamp)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ServerModel.DcsServer |
addDcsServer(String znode,
String data)
Add a DcsServer to the list
|
List<ServerModel.DcsServer> |
getDcsServer() |
ServerModel.DcsServer |
getDcsServer(int index) |
String |
getHostName() |
String |
getListenerPort() |
String |
getListenerPortRange() |
String |
getStartTimestamp() |
public ServerModel.DcsMaster()
public ServerModel.DcsMaster(String hostName, String listenerPort, String listenerPortRange, String startTimestamp)
hostName
- the host namelistenerPort
- the port its listening onlistenerPortRange
- the listener port rangestartTimestamp
- the start timestamppublic String getHostName()
public String getListenerPort()
public String getListenerPortRange()
public String getStartTimestamp()
public ServerModel.DcsServer addDcsServer(String znode, String data)
znode
- the znode namepublic ServerModel.DcsServer getDcsServer(int index)
index
- the indexpublic List<ServerModel.DcsServer> getDcsServer()
Copyright © 2016. All rights reserved.