public class ZooTraceClient extends SendSpansViaThrift implements org.apache.zookeeper.Watcher
host, QUEUE_SIZE, SEND_TIMER_MILLIS, sendQueue, service| Constructor and Description |
|---|
ZooTraceClient(org.apache.htrace.HTraceConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getSpanKey(Map<String,String> data) |
void |
process(org.apache.zookeeper.WatchedEvent event) |
protected void |
sendSpans() |
protected void |
setInitialTraceHosts() |
protected void |
setRetryPause(long pause) |
protected void |
updateHostsFromZooKeeper() |
createDestination, sendclose, convertToAnnotations, convertToStrings, receiveSpanprotected void setRetryPause(long pause)
protected String getSpanKey(Map<String,String> data)
getSpanKey in class SendSpansViaThriftpublic void process(org.apache.zookeeper.WatchedEvent event)
process in interface org.apache.zookeeper.Watcherprotected void setInitialTraceHosts()
protected void updateHostsFromZooKeeper()
throws org.apache.zookeeper.KeeperException,
InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionprotected void sendSpans()
sendSpans in class AsyncSpanReceiver<String,SpanReceiver.Client>Copyright © 2015 Apache Accumulo Project. All rights reserved.