corelib.services.web.traces
Class WebTraceJvmIndicators

java.lang.Object
  extended by corelib.services.web.traces.WebTraceJvmIndicators

public class WebTraceJvmIndicators
extends java.lang.Object

This class stores indicators of the JVM activities. Two kinds of indicators are considered : garbage collector indicators and memory usage indicators. In fact, these indicators are computed by the JMX API.

Since:
0.4.0
Author:
Dominique Liard

Constructor Summary
WebTraceJvmIndicators()
          Class constructor.
 
Method Summary
 java.util.List<java.lang.management.GarbageCollectorMXBean> getGarbageCollectorInformations()
          Returns indicators associated to the garbage collector activity.
 java.lang.management.MemoryUsage getMemoryUsageInformations()
          Returns indicators associated of the memory usage.
 java.lang.management.MemoryUsage getNonHeapMemoryUsageInformations()
          Returns indicators associated of the non heap memory usage.
 void renderAsXml(javax.servlet.http.HttpServletResponse response)
          Write this indicators to the specified response as a XML stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebTraceJvmIndicators

public WebTraceJvmIndicators()
Class constructor.

Method Detail

getGarbageCollectorInformations

public java.util.List<java.lang.management.GarbageCollectorMXBean> getGarbageCollectorInformations()
Returns indicators associated to the garbage collector activity.

Returns:
Garbage collector activity.

getMemoryUsageInformations

public java.lang.management.MemoryUsage getMemoryUsageInformations()
Returns indicators associated of the memory usage.

Returns:
Indicators of the memory usage.

getNonHeapMemoryUsageInformations

public java.lang.management.MemoryUsage getNonHeapMemoryUsageInformations()
Returns indicators associated of the non heap memory usage.

Returns:
Indicators of the non heap memory usage.

renderAsXml

public void renderAsXml(javax.servlet.http.HttpServletResponse response)
Write this indicators to the specified response as a XML stream.

Parameters:
response - The current HTTP response


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.