org.htrace.impl
Class TrueIfTracingSampler

java.lang.Object
  extended by 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.


Field Summary
static TrueIfTracingSampler INSTANCE
           
 
Fields inherited from interface org.htrace.Sampler
ALWAYS, NEVER
 
Method Summary
 boolean next(Object info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TrueIfTracingSampler INSTANCE
Method Detail

next

public boolean next(Object info)
Specified by:
next in interface Sampler<Object>


Copyright © 2014. All Rights Reserved.