org.terracotta.statistics.derived
Class LatencySampling<T extends Enum<T>>
java.lang.Object
org.terracotta.statistics.AbstractSourceStatistic<ChainedEventObserver>
org.terracotta.statistics.derived.LatencySampling<T>
- All Implemented Interfaces:
- ChainedObserver, ChainedOperationObserver<T>, SourceStatistic<ChainedEventObserver>
public class LatencySampling<T extends Enum<T>>
- extends AbstractSourceStatistic<ChainedEventObserver>
- implements ChainedOperationObserver<T>
- Author:
- cdennis
|
Method Summary |
void |
begin(long time)
|
void |
end(long time,
T result)
|
void |
end(long time,
T result,
long... parameters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LatencySampling
public LatencySampling(Set<T> targets,
double sampling)
begin
public void begin(long time)
- Specified by:
begin in interface ChainedOperationObserver<T extends Enum<T>>
end
public void end(long time,
T result)
- Specified by:
end in interface ChainedOperationObserver<T extends Enum<T>>
end
public void end(long time,
T result,
long... parameters)
- Specified by:
end in interface ChainedOperationObserver<T extends Enum<T>>
Copyright © 2015. All Rights Reserved.