Interface NamedCacheProtocol<Req extends com.google.protobuf.Message,Resp extends com.google.protobuf.Message>

Type Parameters:
Req - the request type
Resp - the response type
All Superinterfaces:
GrpcServiceProtocol<Req,Resp>
All Known Implementing Classes:
NamedCacheProxyProtocol

public interface NamedCacheProtocol<Req extends com.google.protobuf.Message,Resp extends com.google.protobuf.Message> extends GrpcServiceProtocol<Req,Resp>
A GrpcServiceProtocol to support the NamedCache API.
  • Field Details

  • Method Details

    • getProtocol

      default String getProtocol()
      Description copied from interface: GrpcServiceProtocol
      Return the name of this protocol.
      Specified by:
      getProtocol in interface GrpcServiceProtocol<Req extends com.google.protobuf.Message,Resp extends com.google.protobuf.Message>
      Returns:
      the name of this protocol
    • getVersion

      default int getVersion()
      Description copied from interface: GrpcServiceProtocol
      Return the version of the protocol.
      Specified by:
      getVersion in interface GrpcServiceProtocol<Req extends com.google.protobuf.Message,Resp extends com.google.protobuf.Message>
      Returns:
      the version of the protocol
    • getSupportedVersion

      default int getSupportedVersion()
      Description copied from interface: GrpcServiceProtocol
      Return the minimum version of the protocol this instance supports.
      Specified by:
      getSupportedVersion in interface GrpcServiceProtocol<Req extends com.google.protobuf.Message,Resp extends com.google.protobuf.Message>
      Returns:
      the minimum version of the protocol this instance supports