org.gcube.resourcemanagement.support.shared.util
Class PerformanceMonitor

java.lang.Object
  extended by org.gcube.resourcemanagement.support.shared.util.PerformanceMonitor

public class PerformanceMonitor
extends Object

This class has been introduced to internally check the performance of method calls and operations in general.

Author:
Daniele Strollo (ISTI-CNR)

Field Summary
 String ownerID
           
 
Method Summary
 StackTraceElement getCaller()
           
static PerformanceMonitor getClock(Class<?> owner)
           
static PerformanceMonitor getClock(String ownerID)
           
 String getOwnerID()
           
 void start()
           
 float stop(boolean relative)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ownerID

public String ownerID
Method Detail

getClock

public static PerformanceMonitor getClock(String ownerID)

getClock

public static PerformanceMonitor getClock(Class<?> owner)

start

public final void start()

stop

public final float stop(boolean relative)

getCaller

public final StackTraceElement getCaller()

getOwnerID

public final String getOwnerID()


Copyright © 2013. All Rights Reserved.