org.smallmind.instrument
Class InstrumentationManager
java.lang.Object
org.smallmind.instrument.InstrumentationManager
- All Implemented Interfaces:
- StaticManager
public class InstrumentationManager
- extends Object
- implements StaticManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrumentationManager
public InstrumentationManager()
register
public static void register(MetricRegistry metricRegistry)
getMetricRegistry
public static MetricRegistry getMetricRegistry()
execute
public static <M extends Metric> void execute(Instrument<M> instrument)
throws Exception
- Throws:
Exception
execute
public static <M extends Metric,T> T execute(InstrumentAndReturn<M,T> instrumentAndReturn)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.