|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.perf.log.utils.RuntimeEnvHelper
public class RuntimeEnvHelper
Singleton helper class to acquire hostname, ip and JVM name
Method Summary | |
---|---|
java.lang.String |
getCloneName()
method to return the current cloneName / instance of the server (JVM) |
java.lang.String |
getHostAndIP()
|
java.lang.String |
getHostName()
Returns the hostname for the local server |
static RuntimeEnvHelper |
getInstance()
Returns the singleton instance of the class |
java.lang.String |
getIpAddress()
Returns the IP Address for the local server |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getHostAndIP()
public java.lang.String getHostName()
public java.lang.String getIpAddress()
public static RuntimeEnvHelper getInstance()
public java.lang.String getCloneName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |