Package io.grpc
Class BinaryLog
java.lang.Object
io.grpc.BinaryLog
- All Implemented Interfaces:
Closeable
,AutoCloseable
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4017")
public abstract class BinaryLog
extends Object
implements Closeable
A binary log that can be installed on a channel or server.
Closeable.close()
must be called after
all the servers and channels associated with the binary log are terminated.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Channel
wrapChannel
(Channel channel) abstract <ReqT,
RespT>
ServerMethodDefinition<?, ?> wrapMethodDefinition
(ServerMethodDefinition<ReqT, RespT> oMethodDef)
-
Constructor Details
-
BinaryLog
public BinaryLog()
-
-
Method Details
-
wrapMethodDefinition
public abstract <ReqT,RespT> ServerMethodDefinition<?,?> wrapMethodDefinition(ServerMethodDefinition<ReqT, RespT> oMethodDef) -
wrapChannel
-