org.htrace
Interface SpanReceiver

All Superinterfaces:
Closeable
All Known Implementing Classes:
LocalFileSpanReceiver, POJOSpanReceiver, StandardOutSpanReceiver

public interface SpanReceiver
extends Closeable

The collector within a process that is the destination of Spans when a trace is running.


Method Summary
 void configure(HTraceConfiguration conf)
          Hosts of SpanReceivers should call this method to provide configuration to SpanReceivers after creating them.
 void receiveSpan(Span span)
          Called when a Span is stopped and can now be stored.
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

configure

void configure(HTraceConfiguration conf)
Hosts of SpanReceivers should call this method to provide configuration to SpanReceivers after creating them.


receiveSpan

void receiveSpan(Span span)
Called when a Span is stopped and can now be stored.

Parameters:
span -


Copyright © 2014. All Rights Reserved.