Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::results::monitor::VMTelemetryDataManager Class Reference

Inheritance diagram for org::netbeans::lib::profiler::results::monitor::VMTelemetryDataManager:

org::netbeans::lib::profiler::results::DataManager

List of all members.


Detailed Description

A class that holds telemetry data about the target VM for a single profiling session. It consumes/processes data obtained from the server via the MonitoredData class. A listener is provided for those who want to be notified about newly arrived data.

Author:
Ian Formanek

Jiri Sedlacek

Definition at line 56 of file VMTelemetryDataManager.java.


Public Member Functions

void addDataListener (DataManagerListener listener)
synchronized int getArrayBufferSize ()
synchronized int getGCItemCount ()
synchronized int getItemCount ()
synchronized MonitoredData getLastData ()
synchronized void processData (MonitoredData data)
void removeDataListener (DataManagerListener listener)
synchronized void reset ()
synchronized void setArrayBufferSize (int arrayBufferSize)
 VMTelemetryDataManager (int arrayBufferSize)
 VMTelemetryDataManager ()

Public Attributes

long[] freeMemory
long[] gcFinishs
long[] gcStarts
long[] lastGCPauseInMS
long[] loadedClassesCount
long maxHeapSize = Long.MAX_VALUE
long[] nSurvivingGenerations
long[] nSystemThreads
long[] nTotalThreads
long[] nUserThreads
long[] relativeGCTimeInPerMil
long[] timeStamps
long[] totalMemory
long[] usedMemory

Protected Member Functions

void fireDataChanged ()
void fireDataReset ()

Private Member Functions

void addValuesInternal (long timeStamp, long freeMemory, long totalMemory, long nUserThreads, long nSystemThreads, long nSurvivingGenerations, long relativeGCTimeInPerMil, long lastGCPauseInMS, long loadedClassesCount, long[] gcStarts, long[] gcFinishs)
void checkArraysSize ()

Static Private Member Functions

static long[] extendArray (long[] array, int extraLength)

Private Attributes

int arrayBufferSize
int currentArraysSize
int currentGCArraysSize
int gcItemCount
int itemCount
MonitoredData lastData = null

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index