org.htrace.impl
Class CountSampler
java.lang.Object
org.htrace.impl.CountSampler
- All Implemented Interfaces:
- Sampler<Object>
public class CountSampler
- extends Object
- implements Sampler<Object>
Sampler that returns true every N calls.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountSampler
public CountSampler(long frequency)
next
public boolean next(Object info)
- Specified by:
next in interface Sampler<Object>
Copyright © 2014. All Rights Reserved.