org.apache.oozie.util
Interface Instrumentation.Element<T>

All Known Subinterfaces:
Instrumentation.Variable<T>
All Known Implementing Classes:
Instrumentation.Timer
Enclosing class:
Instrumentation

public static interface Instrumentation.Element<T>

Gives access to a snapshot of an Instrumentation element (Counter, Timer).

Instrumentation element snapshots are returned by the Instrumentation.getCounters() and Instrumentation.getTimers() ()} methods.


Method Summary
 T getValue()
          Return the snapshot value of the Intrumentation element.
 

Method Detail

getValue

T getValue()
Return the snapshot value of the Intrumentation element.

Returns:
the snapshot value of the Intrumentation element.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.