public abstract class FinagleSender<C extends ZipkinTracer.Config,Req,Rep> extends Object implements zipkin.reporter.Sender
Modifier | Constructor and Description |
---|---|
protected |
FinagleSender(C config) |
Modifier and Type | Method and Description |
---|---|
zipkin.Component.CheckResult |
check()
sends an empty message to the configured host.
|
void |
close() |
com.twitter.util.Future<scala.runtime.BoxedUnit> |
closeFuture() |
zipkin.reporter.Encoding |
encoding() |
protected abstract Req |
makeRequest(List<byte[]> spans) |
protected abstract com.twitter.finagle.Service<Req,Rep> |
newClient(C config) |
void |
sendSpans(List<byte[]> spans,
zipkin.reporter.Callback callback) |
protected FinagleSender(C config)
public zipkin.reporter.Encoding encoding()
encoding
in interface zipkin.reporter.Sender
public void sendSpans(List<byte[]> spans, zipkin.reporter.Callback callback)
sendSpans
in interface zipkin.reporter.Sender
protected abstract Req makeRequest(List<byte[]> spans) throws Exception
Exception
public zipkin.Component.CheckResult check()
check
in interface zipkin.Component
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface zipkin.Component
public com.twitter.util.Future<scala.runtime.BoxedUnit> closeFuture()
Copyright © 2016–2018 OpenZipkin. All rights reserved.