Package io.grpc
Interface InternalWithLogId
- All Known Subinterfaces:
ClientTransport,ConnectionClientTransport,InternalInstrumented<T>,ManagedClientTransport,ServerTransport
- All Known Implementing Classes:
CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport,DelayedClientTransport,FailingClientTransport,ForwardingConnectionClientTransport,InProcessTransport,InternalSubchannel,InternalSubchannel.CallTracingTransport,ManagedChannelImpl,NettyClientTransport,NettyServer,NettyServer.ListenSocket,NettyServerTransport,OobChannel,ServerImpl,ServletServerBuilder.ServerTransportImpl,ServletServerBuilder.ServerTransportImpl
An internal class. Do not use.
A loggable ID, unique for the duration of the program.
-
Method Summary
-
Method Details
-
getLogId
InternalLogId getLogId()Returns an ID that is primarily used in debug logs. It usually contains the class name and a numeric ID that is unique among the instances.The subclasses of this interface usually want to include the log ID in their
Object.toString()results.
-