| Modifier and Type | Class and Description |
|---|---|
static class |
URLConnectionSender.Builder |
| Modifier and Type | Method and Description |
|---|---|
static URLConnectionSender.Builder |
builder() |
zipkin.Component.CheckResult |
check()
Sends an empty json message to the configured endpoint.
|
void |
close() |
static URLConnectionSender |
create(String endpoint)
Creates a sender that posts
Encoding.THRIFT messages. |
int |
messageSizeInBytes(List<byte[]> encodedSpans) |
void |
sendSpans(List<byte[]> encodedSpans,
Callback callback)
Asynchronously sends the spans as a POST to
endpoint(). |
abstract URLConnectionSender.Builder |
toBuilder() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitencoding, messageMaxBytespublic static URLConnectionSender create(String endpoint)
Encoding.THRIFT messages.public static URLConnectionSender.Builder builder()
public abstract URLConnectionSender.Builder toBuilder()
public int messageSizeInBytes(List<byte[]> encodedSpans)
messageSizeInBytes in interface Senderpublic void sendSpans(List<byte[]> encodedSpans, Callback callback)
endpoint().public zipkin.Component.CheckResult check()
check in interface zipkin.Componentpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface zipkin.ComponentCopyright © 2016–2017 OpenZipkin. All rights reserved.