Class CoherenceGrpcClient

java.lang.Object
com.oracle.coherence.spring.boot.config.CoherenceGrpcClient
All Implemented Interfaces:
AutoCloseable

public class CoherenceGrpcClient extends Object implements AutoCloseable
A CoherenceGrpcClient that works with Coherence as a config source.
Since:
3.0
Author:
Gunnar Hillert
  • Field Details

    • logger

      protected static final Log logger
  • Constructor Details

  • Method Details

    • getCoherenceSession

      public com.tangosol.net.Session getCoherenceSession()
    • buildSession

      protected com.tangosol.net.Session buildSession(io.grpc.Channel grpcChannel, CoherenceConfigClientProperties coherenceConfigClientProperties)
      Builds Coherence session.
      Parameters:
      grpcChannel - mMust not be null
      coherenceConfigClientProperties - must not be null
      Returns:
      a Coherence Session
    • buildChannel

      protected io.grpc.ManagedChannel buildChannel(CoherenceConfigClientProperties coherenceConfigClientProperties)
      Builds gRPC channel.
      Parameters:
      coherenceConfigClientProperties - must not be null
      Returns:
      gRPC channel
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable