public final class InternalScribeCodec extends Object
| Constructor and Description |
|---|
InternalScribeCodec() |
| Modifier and Type | Method and Description |
|---|---|
static int |
messageSizeInBytes(byte[] category,
List<byte[]> encodedSpans) |
static boolean |
readLogResponse(int seqid,
org.apache.thrift.protocol.TBinaryProtocol iprot)
Returns false if the scribe response was try later.
|
static void |
writeLogRequest(byte[] category,
List<byte[]> encodedSpans,
int seqid,
org.apache.thrift.protocol.TBinaryProtocol oprot) |
public static int messageSizeInBytes(byte[] category,
List<byte[]> encodedSpans)
public static void writeLogRequest(byte[] category,
List<byte[]> encodedSpans,
int seqid,
org.apache.thrift.protocol.TBinaryProtocol oprot)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic static boolean readLogResponse(int seqid,
org.apache.thrift.protocol.TBinaryProtocol iprot)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2016 OpenZipkin. All rights reserved.