org.smallmind.instrument
Class ChronometerInstrumentAndReturn<T>

java.lang.Object
  extended by org.smallmind.instrument.InstrumentAndReturn<Chronometer,T>
      extended by org.smallmind.instrument.ChronometerInstrumentAndReturn<T>

public abstract class ChronometerInstrumentAndReturn<T>
extends InstrumentAndReturn<Chronometer,T>


Constructor Summary
ChronometerInstrumentAndReturn(ConfigurationProvider provider, MetricProperty... properties)
           
ChronometerInstrumentAndReturn(Metrics.MetricBuilder<Chronometer> builder, String domain, MetricProperty... properties)
           
 
Method Summary
 T with(Chronometer chronometer)
           
abstract  T withChronometer()
           
 
Methods inherited from class org.smallmind.instrument.InstrumentAndReturn
getArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChronometerInstrumentAndReturn

public ChronometerInstrumentAndReturn(ConfigurationProvider provider,
                                      MetricProperty... properties)

ChronometerInstrumentAndReturn

public ChronometerInstrumentAndReturn(Metrics.MetricBuilder<Chronometer> builder,
                                      String domain,
                                      MetricProperty... properties)
Method Detail

withChronometer

public abstract T withChronometer()
                           throws Exception
Throws:
Exception

with

public final T with(Chronometer chronometer)
             throws Exception
Specified by:
with in class InstrumentAndReturn<Chronometer,T>
Throws:
Exception


Copyright © 2012. All Rights Reserved.