Package com.gigaspaces.internal.jvm
Class JVMDetails
java.lang.Object
com.gigaspaces.internal.jvm.JVMDetails
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Author:
- kimchy
GS-10774 Note to developers: This class is used by
RollingFileHandlerto extract the process ID, therefore this class must not use Logger in order to avoid deadlock. - See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJVMDetails(String uid, String vmName, String vmVersion, String vmVendor, long startTime, long memoryHeapInit, long memoryHeapMax, long memoryNonHeapInit, long memoryNonHeapMax, String[] inputArguments, String bootClassPath, String classPath, Map<String, String> systemProperties, Map<String, String> environmentVariables) JVMDetails(String uid, String vmName, String vmVersion, String vmVendor, long startTime, long memoryHeapInit, long memoryHeapMax, long memoryNonHeapInit, long memoryNonHeapMax, String[] inputArguments, String bootClassPath, String classPath, Map<String, String> systemProperties, Map<String, String> environmentVariables, long pid) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
JVMDetails
public JVMDetails() -
JVMDetails
public JVMDetails(String uid, String vmName, String vmVersion, String vmVendor, long startTime, long memoryHeapInit, long memoryHeapMax, long memoryNonHeapInit, long memoryNonHeapMax, String[] inputArguments, String bootClassPath, String classPath, Map<String, String> systemProperties, Map<String, String> environmentVariables) -
JVMDetails
public JVMDetails(String uid, String vmName, String vmVersion, String vmVendor, long startTime, long memoryHeapInit, long memoryHeapMax, long memoryNonHeapInit, long memoryNonHeapMax, String[] inputArguments, String bootClassPath, String classPath, Map<String, String> systemProperties, Map<String, String> environmentVariables, long pid)
-
-
Method Details
-
isNA
public boolean isNA() -
getUid
-
getVmName
-
getVmVersion
-
getVmVendor
-
getStartTime
public long getStartTime() -
getMemoryHeapInit
public long getMemoryHeapInit() -
getMemoryHeapMax
public long getMemoryHeapMax() -
getMemoryNonHeapInit
public long getMemoryNonHeapInit() -
getMemoryNonHeapMax
public long getMemoryNonHeapMax() -
getInputArguments
-
getBootClassPath
-
getClassPath
-
getSystemProperties
-
getEnvironmentVariables
-
getPid
public long getPid() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-