GemFire 7.0.1

com.gemstone.gemfire.management
Class JVMMetrics

java.lang.Object
  extended by com.gemstone.gemfire.management.JVMMetrics

public class JVMMetrics
extends Object

Composite data type used to distribute metrics for the JVM running a GemFire member.

Since:
7.0

Constructor Summary
JVMMetrics(long gcCount, long gcTimeMillis, long initMemory, long committedMemory, long usedMemory, long maxMemory, int totalThreads)
           
 
Method Summary
 long getCommittedMemory()
          Returns the current number of megabytes of memory allocated.
 long getGcCount()
          Returns the number of times garbage collection has occured.
 long getGcTimeMillis()
          Returns the amount of time (in milliseconds) spent on garbage collection.
 long getInitMemory()
          Returns the initial number of megabytes of memory requested from the operating system.
 long getMaxMemory()
          Returns the maximum number of megabytes of memory available from the operating system.
 int getTotalThreads()
          Returns the number of threads in use.
 long getUsedMemory()
          Returns the current number of megabytes of memory being used.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JVMMetrics

@ConstructorProperties(value={"gcCount","gcTimeMillis","initMemory","committedMemory","usedMemory","maxMemory","totalThreads"})
public JVMMetrics(long gcCount,
                                             long gcTimeMillis,
                                             long initMemory,
                                             long committedMemory,
                                             long usedMemory,
                                             long maxMemory,
                                             int totalThreads)
Method Detail

getGcCount

public long getGcCount()
Returns the number of times garbage collection has occured.


getGcTimeMillis

public long getGcTimeMillis()
Returns the amount of time (in milliseconds) spent on garbage collection.


getInitMemory

public long getInitMemory()
Returns the initial number of megabytes of memory requested from the operating system.


getCommittedMemory

public long getCommittedMemory()
Returns the current number of megabytes of memory allocated.


getUsedMemory

public long getUsedMemory()
Returns the current number of megabytes of memory being used.


getMaxMemory

public long getMaxMemory()
Returns the maximum number of megabytes of memory available from the operating system.


getTotalThreads

public int getTotalThreads()
Returns the number of threads in use.


toString

public String toString()
Overrides:
toString in class Object

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.