Class NamedCacheService.DefaultDependencies
java.lang.Object
com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies.DefaultDependencies
com.oracle.coherence.grpc.proxy.common.BaseGrpcServiceImpl.DefaultDependencies
com.oracle.coherence.grpc.proxy.common.v0.NamedCacheService.DefaultDependencies
- All Implemented Interfaces:
GrpcService.Dependencies
,BaseGrpcServiceImpl.Dependencies
,GrpcServiceDependencies
,NamedCacheService.Dependencies
- Enclosing interface:
NamedCacheService
public static class NamedCacheService.DefaultDependencies
extends BaseGrpcServiceImpl.DefaultDependencies
implements NamedCacheService.Dependencies
The default
NamedCacheService.Dependencies
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies
GrpcServiceDependencies.DefaultDependencies
-
Field Summary
Fields inherited from interface com.oracle.coherence.grpc.proxy.common.v0.NamedCacheService.Dependencies
NO_EVENTS_HEARTBEAT
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencies
(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the frequency in millis that heartbeats should be sent by the proxy to the client bidirectional events channel.void
setEventsHeartbeat
(long nEventsHeartbeat) Set the frequency in millis that heartbeats should be sent by the proxy to the client bidirectional events channel.Methods inherited from class com.oracle.coherence.grpc.proxy.common.BaseGrpcServiceImpl.DefaultDependencies
getCacheFactorySupplier, setConfigurableCacheFactorySupplier
Methods inherited from class com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies.DefaultDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getServerType, getTransferThreshold, setContext, setDaemonPool, setExecutor, setRegistry, setSerializerFactory, setTransferThreshold
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.coherence.grpc.proxy.common.BaseGrpcServiceImpl.Dependencies
getCacheFactorySupplier
Methods inherited from interface com.oracle.coherence.grpc.proxy.common.GrpcServiceDependencies
getContext, getDaemonPool, getExecutor, getNamedSerializerFactory, getRegistry, getServerType, getTransferThreshold
-
Constructor Details
-
DefaultDependencies
public DefaultDependencies(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType) -
DefaultDependencies
-
DefaultDependencies
-
-
Method Details
-
getEventsHeartbeat
public long getEventsHeartbeat()Description copied from interface:NamedCacheService.Dependencies
Returns the frequency in millis that heartbeats should be sent by the proxy to the client bidirectional events channel.- Specified by:
getEventsHeartbeat
in interfaceNamedCacheService.Dependencies
- Returns:
- the frequency in millis that heartbeats should be sent by the proxy to the client bidirectional events channel
-
setEventsHeartbeat
public void setEventsHeartbeat(long nEventsHeartbeat) Set the frequency in millis that heartbeats should be sent by the proxy to the client bidirectional events channel. If the frequency is set to zero or less, then no heartbeats will be sent.- Parameters:
nEventsHeartbeat
- the heartbeat frequency in millis
-