Class CoherenceConfigClientProperties.GrpcClientProperties
- java.lang.Object
-
- com.oracle.coherence.spring.boot.config.CoherenceConfigClientProperties.GrpcClientProperties
-
- Enclosing class:
- CoherenceConfigClientProperties
public static class CoherenceConfigClientProperties.GrpcClientProperties extends Object
Coherence gRPC client configuration.
-
-
Constructor Summary
Constructors Constructor Description GrpcClientProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
Returns host name of gRPC server.int
getPort()
Gets gRPC server port.boolean
isEnableTls()
Returns true if TLS is enabled.void
setEnableTls(boolean enableTls)
Enables TLS support.void
setHost(String host)
Sets host name of gRPC server.void
setPort(int port)
Sets gRPC server port.String
toString()
-
-
-
Method Detail
-
getHost
public String getHost()
Returns host name of gRPC server.- Returns:
- host name
-
setHost
public void setHost(String host)
Sets host name of gRPC server.- Parameters:
host
- host name
-
getPort
public int getPort()
Gets gRPC server port.- Returns:
- port
-
setPort
public void setPort(int port)
Sets gRPC server port.- Parameters:
port
- port
-
isEnableTls
public boolean isEnableTls()
Returns true if TLS is enabled.- Returns:
- true if TLS is enabled
-
setEnableTls
public void setEnableTls(boolean enableTls)
Enables TLS support.- Parameters:
enableTls
- if not set, defaults to true. Set to false to disable TLS.
-
-