public class SendSpansViaThrift extends AsyncSpanReceiver<String,SpanReceiver.Client>
host, QUEUE_SIZE, SEND_TIMER_MILLIS, sendQueue, service| Constructor and Description |
|---|
SendSpansViaThrift(org.apache.htrace.HTraceConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected SpanReceiver.Client |
createDestination(String destination) |
protected String |
getSpanKey(Map<String,String> data) |
protected void |
send(SpanReceiver.Client client,
RemoteSpan s) |
close, convertToAnnotations, convertToStrings, receiveSpan, sendSpanspublic SendSpansViaThrift(org.apache.htrace.HTraceConfiguration conf)
protected SpanReceiver.Client createDestination(String destination) throws Exception
createDestination in class AsyncSpanReceiver<String,SpanReceiver.Client>Exceptionprotected void send(SpanReceiver.Client client, RemoteSpan s) throws Exception
send in class AsyncSpanReceiver<String,SpanReceiver.Client>Exceptionprotected String getSpanKey(Map<String,String> data)
getSpanKey in class AsyncSpanReceiver<String,SpanReceiver.Client>Copyright © 2015 Apache Accumulo Project. All rights reserved.