org.apache.accumulo.trace.instrument.receivers
public class ZooSpanClient extends SendSpansViaThrift
host, service
Constructor and Description |
---|
ZooSpanClient(String keepers,
String path,
String host,
String service,
long millis) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
protected String |
getSpanKey(Map<String,String> data) |
createDestination, send
span
public ZooSpanClient(String keepers, String path, String host, String service, long millis) throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOException
org.apache.zookeeper.KeeperException
InterruptedException
public void flush()
flush
in interface SpanReceiver
flush
in class AsyncSpanReceiver<String,SpanReceiver.Client>
protected String getSpanKey(Map<String,String> data)
getSpanKey
in class SendSpansViaThrift
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.