org.apache.hadoop.tracing
Interface TraceAdminProtocol


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface TraceAdminProtocol

Protocol interface that provides tracing.


Field Summary
static long versionID
           
 
Method Summary
 long addSpanReceiver(SpanReceiverInfo desc)
          Add a new trace span receiver.
 SpanReceiverInfo[] listSpanReceivers()
          List the currently active trace span receivers.
 void removeSpanReceiver(long spanReceiverId)
          Remove a trace span receiver.
 

Field Detail

versionID

static final long versionID
See Also:
Constant Field Values
Method Detail

listSpanReceivers

SpanReceiverInfo[] listSpanReceivers()
                                     throws IOException
List the currently active trace span receivers.

Throws:
IOException - On error.

addSpanReceiver

long addSpanReceiver(SpanReceiverInfo desc)
                     throws IOException
Add a new trace span receiver.

Parameters:
desc - The span receiver description.
Returns:
The ID of the new trace span receiver.
Throws:
IOException - On error.

removeSpanReceiver

void removeSpanReceiver(long spanReceiverId)
                        throws IOException
Remove a trace span receiver.

Parameters:
spanReceiverId - The id of the span receiver to remove.
Throws:
IOException - On error.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.