org.apache.accumulo.trace.instrument
Class CountSampler
java.lang.Object
org.apache.accumulo.trace.instrument.CountSampler
- All Implemented Interfaces:
- Sampler
public class CountSampler
- extends Object
- implements Sampler
Sampler that returns true every N calls.
Method Summary |
boolean |
next()
|
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()
- Specified by:
next
in interface Sampler
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.