org.smallmind.instrument
Class InstrumentAndReturn<M extends Metric,T>

java.lang.Object
  extended by org.smallmind.instrument.InstrumentAndReturn<M,T>
Direct Known Subclasses:
ChronometerInstrumentAndReturn

public abstract class InstrumentAndReturn<M extends Metric,T>
extends Object


Constructor Summary
InstrumentAndReturn(InstrumentationArguments<M> arguments)
           
 
Method Summary
 InstrumentationArguments<M> getArguments()
           
abstract  T with(M metric)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentAndReturn

public InstrumentAndReturn(InstrumentationArguments<M> arguments)
Method Detail

getArguments

public InstrumentationArguments<M> getArguments()

with

public abstract T with(M metric)
                throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.