public class ClientInfo extends Object implements Serializable
RebootMgr API. It holds information needed for using
ClientVmMgr to restart the JVM after reboot.| Constructor and Description |
|---|
ClientInfo(int vmid,
ClientDescription cd) |
| Modifier and Type | Method and Description |
|---|---|
ClientDescription |
getClientDescription()
Returns the
ClientDescription for this JVM. |
String |
getClientName()
Returns the logical client for this JVM, as specified in
ClientPrms.names. |
ClientVmInfo |
getClientVmInfo()
Returns a fully specified
ClientVmInfo for this JVM. |
protected String |
getLogicalHost()
Returns the logical host for this JVM, as specified in
HostPrms.names. |
protected String |
getPhysicalHost()
Returns the physical host for this JVM, as specified in
HostPrms.hostNames. |
int |
getVmid()
Returns the hydra client VMID for this JVM.
|
String |
toString() |
public ClientInfo(int vmid,
ClientDescription cd)
public int getVmid()
public ClientDescription getClientDescription()
ClientDescription for this JVM.public String getClientName()
ClientPrms.names.protected String getLogicalHost()
HostPrms.names.protected String getPhysicalHost()
HostPrms.hostNames.public ClientVmInfo getClientVmInfo()
ClientVmInfo for this JVM. This is
handy for using with the ClientVmMgr API.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.