public class MasterDescription extends AbstractDescription implements java.io.Serializable
| Constructor and Description |
|---|
MasterDescription() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(TestConfig config)
Creates the one and only master description.
|
java.lang.String |
getLocator()
Returns the locator string for the gossip server for the
default distributed system.
|
java.lang.String |
getLocator(java.lang.String dsName)
Returns the locator string for the gossip server for the
specified distributed system.
|
protected int |
getLocatorPort(java.lang.String dsName)
Returns the port for the gossip server for the
specified distributed system.
|
java.lang.String |
getName()
Returns the rmi name for the master proxy object.
|
protected java.lang.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(java.lang.String host)
Sets the host for the time server.
|
protected void |
setTimeServerPort(int port)
Sets the port for the time server.
|
java.util.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 java.lang.String getName()
public VmDescription getVmDescription()
protected int getLocatorPort(java.lang.String dsName)
public java.lang.String getLocator()
public java.lang.String getLocator(java.lang.String dsName)
protected void setTimeServerHost(java.lang.String host)
protected java.lang.String getTimeServerHost()
protected void setTimeServerPort(int port)
protected int getTimeServerPort()
public java.util.SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionpublic static void configure(TestConfig config)
protected void postprocess()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.