@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/4017") public abstract class BinaryLog extends Object implements Closeable
Closeable.close()
must be called after
all the servers and channels associated with the binary log are terminated.Modifier and Type | Class and Description |
---|---|
static class |
BinaryLog.CallId
A CallId is two byte[] arrays both of size 8 that uniquely identifies the RPC.
|
Modifier and Type | Field and Description |
---|---|
static CallOptions.Key<BinaryLog.CallId> |
CLIENT_CALL_ID_CALLOPTION_KEY |
Constructor and Description |
---|
BinaryLog() |
Modifier and Type | Method and Description |
---|---|
abstract Channel |
wrapChannel(Channel channel) |
abstract <ReqT,RespT> |
wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef) |
public static final CallOptions.Key<BinaryLog.CallId> CLIENT_CALL_ID_CALLOPTION_KEY
public abstract <ReqT,RespT> ServerMethodDefinition<?,?> wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)