org.apache.hadoop.hbase.trace
Class SpanReceiverHost
java.lang.Object
org.apache.hadoop.hbase.trace.SpanReceiverHost
public class SpanReceiverHost
- extends Object
This class provides functions for reading the names of SpanReceivers from
hbase-site.xml, adding those SpanReceivers to the Tracer, and closing those
SpanReceivers when appropriate.
Method Summary |
void |
closeReceivers()
Calls close() on all SpanReceivers created by this SpanReceiverHost. |
static SpanReceiverHost |
getInstance(org.apache.hadoop.conf.Configuration conf)
|
void |
loadSpanReceivers()
Reads the names of classes specified in the
"hbase.trace.spanreceiver.classes" property and instantiates and registers
them with the Tracer as SpanReceiver's. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPAN_RECEIVERS_CONF_KEY
public static final String SPAN_RECEIVERS_CONF_KEY
- See Also:
- Constant Field Values
getInstance
public static SpanReceiverHost getInstance(org.apache.hadoop.conf.Configuration conf)
loadSpanReceivers
public void loadSpanReceivers()
- Reads the names of classes specified in the
"hbase.trace.spanreceiver.classes" property and instantiates and registers
them with the Tracer as SpanReceiver's.
closeReceivers
public void closeReceivers()
- Calls close() on all SpanReceivers created by this SpanReceiverHost.
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.