Package com.oracle.coherence.client
Class GrpcSessionConfiguration.DefaultConfiguration
- java.lang.Object
-
- com.oracle.coherence.client.GrpcSessionConfiguration.DefaultConfiguration
-
- All Implemented Interfaces:
GrpcSessionConfiguration,com.tangosol.net.SessionConfiguration,Comparable<com.tangosol.net.SessionConfiguration>
- Enclosing interface:
- GrpcSessionConfiguration
public static class GrpcSessionConfiguration.DefaultConfiguration extends Object implements GrpcSessionConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.oracle.coherence.client.GrpcSessionConfiguration
GrpcSessionConfiguration.Builder, GrpcSessionConfiguration.DefaultConfiguration
-
-
Field Summary
-
Fields inherited from interface com.oracle.coherence.client.GrpcSessionConfiguration
DEFAULT_HOST, DEFAULT_PRIORITY, PROP_DEFAULT_SESSION_ENABLED, PROP_SESSION_ENABLED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenableTracing()Returnstrueif client gRPC tracing should be enabled.io.grpc.ChannelgetChannel()Returns the gRPCChannelto use.Optional<String>getFormat()Returns the name of the serialization format to use to serialize gRPC message payloads.StringgetName()intgetPriority()StringgetScopeName()Return the scope name of theSession.Optional<com.tangosol.io.Serializer>getSerializer()Returns theSerializerto use to serialize gRPC message payloads.booleanisEnabled()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfacecom.tangosol.net.SessionConfiguration
-
getChannel
public io.grpc.Channel getChannel()
Returns the gRPCChannelto use.- Specified by:
getChannelin interfaceGrpcSessionConfiguration- Returns:
- the gRPC
Channelto use
-
getSerializer
public Optional<com.tangosol.io.Serializer> getSerializer()
Returns theSerializerto use to serialize gRPC message payloads.- Specified by:
getSerializerin interfaceGrpcSessionConfiguration- Returns:
- the
Serializerto use
-
getFormat
public Optional<String> getFormat()
Returns the name of the serialization format to use to serialize gRPC message payloads.- Specified by:
getFormatin interfaceGrpcSessionConfiguration- Returns:
- the name of the serialization format
-
enableTracing
public boolean enableTracing()
Returnstrueif client gRPC tracing should be enabled.- Specified by:
enableTracingin interfaceGrpcSessionConfiguration- Returns:
trueif client gRPC tracing should be enabled
-
getName
public String getName()
- Specified by:
getNamein interfacecom.tangosol.net.SessionConfiguration
-
getScopeName
public String getScopeName()
Return the scope name of theSession.If not specifically set, the name will default to the
Coherence.DEFAULT_SCOPEvalue.- Specified by:
getScopeNamein interfaceGrpcSessionConfiguration- Specified by:
getScopeNamein interfacecom.tangosol.net.SessionConfiguration- Returns:
- the scope name of the
Session
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfacecom.tangosol.net.SessionConfiguration
-
-