public class LoadMeasureAvgJVM
extends java.lang.Object
LoadMeasureJVM
.LoadMeasureJVM
Constructor and Description |
---|
LoadMeasureAvgJVM(java.lang.Integer avgCounter)
Instantiates this class
|
Modifier and Type | Method and Description |
---|---|
long |
getJvmHeapCommitted()
Returns the JVM committed heap memory.
|
long |
getJvmHeapInit()
Returns the JVM initial heap memory.
|
long |
getJvmHeapMax()
Returns the JVM maximum heap memory.
|
long |
getJvmHeapUsed()
Returns the JVM used heap memory.
|
long |
getJvmMemoFree()
Returns the JVM free memory.
|
long |
getJvmMemoMax()
Returns the JVM maximum memory.
|
long |
getJvmMemoTotal()
Returns the JVM total memory.
|
java.lang.String |
getJvmPID()
Returns the JVM PID.
|
int |
getJvmThreadCount()
Returns the number of threads running in the JVM.
|
java.util.Hashtable<java.lang.String,java.lang.Long> |
getJvmThreadTimes()
Returns the times of the threads running in the JVM.
|
void |
put(LoadMeasureJVM currentLoadMeasure)
Used to put a new load measurement into this class
|
void |
setJvmHeapCommitted(long jvmHeapCommited)
Sets the JVM committed heap memory.
|
void |
setJvmHeapInit(long jvmHeapInit)
Returns the JVM initial heap memory.
|
void |
setJvmHeapMax(long jvmHeapMax)
Sets the JVM maximum heap memory.
|
void |
setJvmHeapUsed(long jvmHeapUsed)
Sets the JVM used heap memory.
|
void |
setJvmMemoFree(long jvmMemoFree)
Sets the JVM free memory.
|
void |
setJvmMemoMax(long jvmMemoMax)
Sets the JVM maximum memory.
|
void |
setJvmMemoTotal(long jvmMemoTotal)
Sets the JVM total memory.
|
void |
setJvmPID(java.lang.String jvmPID)
Sets the JVM PID.
|
void |
setJvmThreadCount(int jvmThreadCount)
Sets the number of threads running in the JVM.
|
void |
setJvmThreadTimes(java.util.Hashtable<java.lang.String,java.lang.Long> jvmThreadTimes)
Sets the times of the threads running in the JVM.
|
public LoadMeasureAvgJVM(java.lang.Integer avgCounter)
avgCounter
- the maximum length of List for building the averagepublic void put(LoadMeasureJVM currentLoadMeasure)
currentLoadMeasure
- the current load measuredpublic void setJvmPID(java.lang.String jvmPID)
jvmPID
- the jvmPID to setpublic java.lang.String getJvmPID()
public long getJvmMemoFree()
public void setJvmMemoFree(long jvmMemoFree)
jvmMemoFree
- the jvmMemoFree to setpublic long getJvmMemoTotal()
public void setJvmMemoTotal(long jvmMemoTotal)
jvmMemoTotal
- the jvmMemoTotal to setpublic long getJvmMemoMax()
public void setJvmMemoMax(long jvmMemoMax)
jvmMemoMax
- the jvmMemoMax to setpublic long getJvmHeapUsed()
public void setJvmHeapUsed(long jvmHeapUsed)
jvmHeapUsed
- the jvmHeapUsed to setpublic long getJvmHeapCommitted()
public void setJvmHeapCommitted(long jvmHeapCommited)
jvmHeapCommited
- the jvmHeapCommited to setpublic long getJvmHeapMax()
public void setJvmHeapMax(long jvmHeapMax)
jvmHeapMax
- the jvmHeapMax to setpublic long getJvmHeapInit()
public void setJvmHeapInit(long jvmHeapInit)
jvmHeapInit
- the jvmHeapInit to setpublic int getJvmThreadCount()
public void setJvmThreadCount(int jvmThreadCount)
jvmThreadCount
- the jvmThreadCount to setpublic java.util.Hashtable<java.lang.String,java.lang.Long> getJvmThreadTimes()
public void setJvmThreadTimes(java.util.Hashtable<java.lang.String,java.lang.Long> jvmThreadTimes)
jvmThreadTimes
- the jvmThreadTimes to set