public class MasterDescription extends AbstractDescription implements Serializable
| Constructor and Description |
|---|
MasterDescription() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(TestConfig config)
Creates the one and only master description.
|
String |
getLocator()
Returns the locator string for the gossip server for the
default distributed system.
|
String |
getLocator(String dsName)
Returns the locator string for the gossip server for the
specified distributed system.
|
protected int |
getLocatorPort(String dsName)
Returns the port for the gossip server for the
specified distributed system.
|
String |
getName()
Returns the rmi name for the master proxy object.
|
protected String |
getTimeServerHost()
Returns the host for the time server.
|
protected int |
getTimeServerPort()
Returns the port for the time server.
|
VmDescription |
getVmDescription()
Returns the vm description for the master controller.
|
protected void |
postprocess() |
protected void |
setTimeServerHost(String host)
Sets the host for the time server.
|
protected void |
setTimeServerPort(int port)
Sets the port for the time server.
|
SortedMap |
toSortedMap()
Returns a sorted map of description fields and their values.
|
addProperties, asList, convertPrm, convertPrmDefault, getBooleanFor, getClass, getClassname, getInstance, getIntegerFor, getNonnegativeIntegerFor, getParametersAndDefaults, getPath, getSSLDescription, loadClass, parseMethod, toStringpublic String getName()
public VmDescription getVmDescription()
protected int getLocatorPort(String dsName)
public String getLocator()
public String getLocator(String dsName)
protected void setTimeServerHost(String host)
protected String getTimeServerHost()
protected void setTimeServerPort(int port)
protected int getTimeServerPort()
public SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionpublic static void configure(TestConfig config)
protected void postprocess()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.