Class CoherenceGrpcClient
- java.lang.Object
-
- com.oracle.coherence.spring.boot.config.CoherenceGrpcClient
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CoherenceGrpcClient extends java.lang.Object implements java.lang.AutoCloseable
ACoherenceGrpcClient
that works with Coherence as a config source.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description CoherenceGrpcClient(CoherenceConfigClientProperties coherenceConfigClientProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.tangosol.net.Session
buildSession(CoherenceConfigClientProperties coherenceConfigClientProperties)
Builds Coherence session.void
close()
com.tangosol.net.Session
getCoherenceSession()
-
-
-
Field Detail
-
logger
protected static final Log logger
-
-
Constructor Detail
-
CoherenceGrpcClient
public CoherenceGrpcClient(CoherenceConfigClientProperties coherenceConfigClientProperties)
-
-
Method Detail
-
getCoherenceSession
public com.tangosol.net.Session getCoherenceSession()
-
buildSession
protected com.tangosol.net.Session buildSession(CoherenceConfigClientProperties coherenceConfigClientProperties)
Builds Coherence session.- Parameters:
coherenceConfigClientProperties
- must not be null- Returns:
- a Coherence Session
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-