@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface TraceAdminProtocol
| Modifier and Type | Field and Description |
|---|---|
static long |
versionID |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final long versionID
SpanReceiverInfo[] listSpanReceivers() throws IOException
IOException - On error.long addSpanReceiver(SpanReceiverInfo desc) throws IOException
desc - The span receiver description.IOException - On error.void removeSpanReceiver(long spanReceiverId)
throws IOException
spanReceiverId - The id of the span receiver to remove.IOException - On error.Copyright © 2019 Apache Software Foundation. All Rights Reserved.