Class 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.
  • Constructor Details

    • DefaultDependencies

      public DefaultDependencies(com.tangosol.net.grpc.GrpcDependencies.ServerType serverType)
    • DefaultDependencies

      public DefaultDependencies(GrpcServiceDependencies deps)
    • DefaultDependencies

      public DefaultDependencies(NamedCacheService.Dependencies deps)
  • 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 interface NamedCacheService.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