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 Closeable
close
in interface AutoCloseable
IOException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.