Class NamedCacheServiceImpl

  • All Implemented Interfaces:
    GrpcProxyService, NamedCacheService

    public class NamedCacheServiceImpl
    extends BaseGrpcServiceImpl
    implements NamedCacheService
    A gRPC NamedCache service.

    This class uses AsyncNamedCache and asynchronous CompletionStage wherever possible. This makes the code more complex but the advantages of not blocking the gRPC request thread or the Coherence service thread will outweigh the downside of complexity.

    The asynchronous processing of CompletionStages is done using an DaemonPoolExecutor so as not to consume or block threads in the Fork Join Pool. The DaemonPoolExecutor is configurable so that its thread counts can be controlled.

    Since:
    20.06
    Author:
    Jonathan Knight 2020.09.22