org.smallmind.instrument
Class InstrumentationManager

java.lang.Object
  extended by org.smallmind.instrument.InstrumentationManager
All Implemented Interfaces:
StaticManager

public class InstrumentationManager
extends Object
implements StaticManager


Constructor Summary
InstrumentationManager()
           
 
Method Summary
static
<M extends Metric>
void
execute(Instrument<M> instrument)
           
static
<M extends Metric,T>
T
execute(InstrumentAndReturn<M,T> instrumentAndReturn)
           
static MetricRegistry getMetricRegistry()
           
static void register(MetricRegistry metricRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentationManager

public InstrumentationManager()
Method Detail

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.