Package org.smallmind.claxon.registry
Class UnpluggedInstrumentation
- java.lang.Object
-
- org.smallmind.claxon.registry.UnpluggedInstrumentation
-
- All Implemented Interfaces:
Instrumentation
public class UnpluggedInstrumentation extends Object implements Instrumentation
-
-
Constructor Summary
Constructors Constructor Description UnpluggedInstrumentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instrumentationas(TimeUnit timeUnit)voidon(SansResultExecutable sansResultExecutable)<T> Ton(WithResultExecutable<T> withResultExecutable)<O extends Observable>
Otrack(O observable)<T> Ttrack(T measured, Function<T,Long> measurement)voidupdate(long value)voidupdate(long value, TimeUnit valueTimeUnit)
-
-
-
Method Detail
-
as
public Instrumentation as(TimeUnit timeUnit)
- Specified by:
asin interfaceInstrumentation
-
track
public <O extends Observable> O track(O observable)
- Specified by:
trackin interfaceInstrumentation
-
track
public <T> T track(T measured, Function<T,Long> measurement)- Specified by:
trackin interfaceInstrumentation
-
update
public void update(long value)
- Specified by:
updatein interfaceInstrumentation
-
update
public void update(long value, TimeUnit valueTimeUnit)- Specified by:
updatein interfaceInstrumentation
-
on
public void on(SansResultExecutable sansResultExecutable) throws Throwable
- Specified by:
onin interfaceInstrumentation- Throws:
Throwable
-
on
public <T> T on(WithResultExecutable<T> withResultExecutable) throws Throwable
- Specified by:
onin interfaceInstrumentation- Throws:
Throwable
-
-