public class TraceServiceClientTraceConsumer extends Object implements Closeable
TraceConsumer immediately sends trace data to Stackdriver Trace.| Constructor and Description |
|---|
TraceServiceClientTraceConsumer(String projectId,
TraceServiceClient client) |
public TraceServiceClientTraceConsumer(String projectId, TraceServiceClient client)
public void receive(Traces traces)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.