Package com.oracle.coherence.client
Interface BaseGrpcClient.Dependencies
-
- All Known Subinterfaces:
AsyncNamedCacheClient.Dependencies
- All Known Implementing Classes:
AsyncNamedCacheClient.DefaultDependencies,BaseGrpcClient.DefaultDependencies
- Enclosing class:
- BaseGrpcClient<V>
public static interface BaseGrpcClient.DependenciesThe dependencies used to create anAsyncNamedCacheClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description io.grpc.ChannelgetChannel()Returns the gRPCChannel.default longgetDeadline()Obtain a default rpc deadline value.com.tangosol.net.events.EventDispatchergetEventDispatcher()Returns the event dispatcher for the resource.Optional<Executor>getExecutor()Return the optionalExecutorto use.StringgetName()Return the underlying resource name.Optional<String>getScopeName()Returns the scope named used to link requests to a specific server side scope.Optional<com.tangosol.io.Serializer>getSerializer()Return theSerializerto use to serialize request and response payloads.Optional<String>getSerializerFormat()Return the name of the serialization format to be used for requests and responses.
-
-
-
Method Detail
-
getName
String getName()
Return the underlying resource name.- Returns:
- the underlying resource name
-
getChannel
io.grpc.Channel getChannel()
Returns the gRPCChannel.This method must not return
null.- Returns:
- the gRPC
Channel
-
getScopeName
Optional<String> getScopeName()
Returns the scope named used to link requests to a specific server side scope.- Returns:
- the scope named used to for requests
-
getSerializer
Optional<com.tangosol.io.Serializer> getSerializer()
Return theSerializerto use to serialize request and response payloads.- Returns:
- the
Serializerto use for request and response payloads
-
getSerializerFormat
Optional<String> getSerializerFormat()
Return the name of the serialization format to be used for requests and responses.- Returns:
- the name of the serialization format to be used for requests and responses
-
getExecutor
Optional<Executor> getExecutor()
Return the optionalExecutorto use.- Returns:
- the optional
Executorto use
-
getEventDispatcher
com.tangosol.net.events.EventDispatcher getEventDispatcher()
Returns the event dispatcher for the resource.- Returns:
- the event dispatcher for the resource
-
getDeadline
default long getDeadline()
Obtain a default rpc deadline value. If set to a value less than or equal to zero, a value of 30 seconds is used.- Returns:
- the default request timeout
-
-