org.htrace.impl
Class TrueIfTracingSampler
java.lang.Object
org.htrace.impl.TrueIfTracingSampler
- All Implemented Interfaces:
- Sampler<Object>
public class TrueIfTracingSampler
- extends Object
- implements Sampler<Object>
A Sampler that returns true if and only if tracing is on the current thread.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final TrueIfTracingSampler INSTANCE
next
public boolean next(Object info)
- Specified by:
next in interface Sampler<Object>
Copyright © 2014. All Rights Reserved.