public static class DistributedSystemHelper.Endpoint extends Object implements Contact, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Endpoint(GemFireLocatorAgentRecord lar)
Creates an endpoint for a master-managed locator agent record.
|
|
Endpoint(String id,
String name,
int vmid,
String host,
String addr,
int port,
String ds,
boolean isPeerLocator,
boolean isServerLocator)
Creates an endpoint for a locator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Returns the locator address.
|
String |
getDistributedSystemName()
Returns the locator distributed system name.
|
String |
getHost()
Returns the locator host.
|
String |
getId()
Returns the unique locator logical endpoint ID.
|
String |
getLocatorProperty()
Returns the string suitable for use as the value of the distributed
system property
DistributionConfig.START_LOCATOR_NAME. |
String |
getName()
Returns the locator logical VM name.
|
int |
getPort()
Returns the locator port.
|
int |
getVmid()
Returns the locator logical VM ID.
|
int |
hashCode() |
boolean |
isPeerLocator()
Returns whether this is a peer locator.
|
boolean |
isServerLocator()
Returns whether this is a server locator.
|
void |
record()
Records locator information in a properties file for use when manually
running GUI tests.
|
String |
toString()
Returns the endpoint as a string.
|
protected Endpoint(GemFireLocatorAgentRecord lar)
lar - the locator agent record.public Endpoint(String id, String name, int vmid, String host, String addr, int port, String ds, boolean isPeerLocator, boolean isServerLocator)
id - the locator id.name - the logical hydra client VM name from ClientPrms.names found via the ClientPrms.CLIENT_NAME_PROPERTY system property.vmid - the logical hydra client VM ID found via RemoteTestModule.getMyVmid().host - the locator host.addr - the locator address.port - the locator port.ds - the locator distributed system name.isPeerLocator - whether the locator is a peer locator.isServerLocator - whether the locator is a server locator.public String getId()
public String getName()
public int getVmid()
public String getHost()
public String getAddress()
getAddress in interface Contactpublic String getDistributedSystemName()
public boolean isPeerLocator()
public boolean isServerLocator()
public String getLocatorProperty()
DistributionConfig.START_LOCATOR_NAME.public void record()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.