Package io.grpc

Interface InternalWithLogId

All Known Subinterfaces:
ClientTransport, ConnectionClientTransport, InternalInstrumented<T>, ManagedClientTransport, ServerTransport
All Known Implementing Classes:
ServerImpl

@Internal public interface InternalWithLogId
An internal class. Do not use.

A loggable ID, unique for the duration of the program.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an ID that is primarily used in debug logs.
  • 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.