Interface GrpcServerConfiguration


public interface GrpcServerConfiguration
A class that can configure gRPC server builders prior to them being used to start the servers.

Implementations can be automatically discovered via Java's SPI mechanism. For automatic discovery, the implementation must have a zero-argument constructor and include a resource named META-INF/services/com.oracle.coherence.grpc.proxy.GrpcServerConfiguration in their JAR. The file's contents should be the implementation's class name.

Author:
Jonathan Knight 2020.09.24
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(io.grpc.ServerBuilder<?> serverBuilder, io.grpc.inprocess.InProcessServerBuilder inProcessServerBuilder)
    Configure the server builders.
  • Method Details

    • configure

      void configure(io.grpc.ServerBuilder<?> serverBuilder, io.grpc.inprocess.InProcessServerBuilder inProcessServerBuilder)
      Configure the server builders.

      The build method must not be called on either builder.

      Parameters:
      serverBuilder - the ServerBuilder to configure
      inProcessServerBuilder - the InProcessServerBuilder to configure