public class TraceSegmentServiceClient extends Object implements BootService, IConsumer<TraceSegment>, TracingContextListener, GRPCChannelListener
| Constructor and Description |
|---|
TraceSegmentServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFinished(TraceSegment traceSegment) |
void |
boot() |
void |
consume(List<TraceSegment> data) |
void |
init() |
void |
onComplete() |
void |
onError(List<TraceSegment> data,
Throwable t) |
void |
onExit() |
void |
prepare() |
void |
shutdown() |
void |
statusChanged(GRPCChannelStatus status) |
public void prepare()
throws Throwable
prepare in interface BootServiceThrowablepublic void boot()
throws Throwable
boot in interface BootServiceThrowablepublic void onComplete()
throws Throwable
onComplete in interface BootServiceThrowablepublic void shutdown()
throws Throwable
shutdown in interface BootServiceThrowablepublic void init()
init in interface IConsumer<TraceSegment>public void consume(List<TraceSegment> data)
consume in interface IConsumer<TraceSegment>public void onError(List<TraceSegment> data, Throwable t)
onError in interface IConsumer<TraceSegment>public void onExit()
onExit in interface IConsumer<TraceSegment>public void afterFinished(TraceSegment traceSegment)
afterFinished in interface TracingContextListenerpublic void statusChanged(GRPCChannelStatus status)
statusChanged in interface GRPCChannelListenerCopyright © 2019 The Apache Software Foundation. All rights reserved.