PerformanceMonitor (Resource Management Library 2.0.0-2.17.1 API)
Date: 2014-01-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.