PerformanceMonitor (Resource Management Library 2.8.1-SNAPSHOT API)
Date: 2018-11-05

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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `ownerID`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2018. All Rights Reserved.