Class GrpcServerController.Listener

  • All Implemented Interfaces:
    com.tangosol.application.LifecycleListener
    Enclosing class:
    GrpcServerController

    public static class GrpcServerController.Listener
    extends Object
    implements com.tangosol.application.LifecycleListener
    A listener that will start the gRPC server base on Coherence or DefaultCacheServer lifecycle events.
    • Constructor Detail

      • Listener

        public Listener()
    • Method Detail

      • preStart

        public void preStart​(com.tangosol.application.Context ctx)
        Specified by:
        preStart in interface com.tangosol.application.LifecycleListener
      • postStart

        public void postStart​(com.tangosol.application.Context ctx)
        Specified by:
        postStart in interface com.tangosol.application.LifecycleListener
      • preStop

        public void preStop​(com.tangosol.application.Context ctx)
        Specified by:
        preStop in interface com.tangosol.application.LifecycleListener
      • postStop

        public void postStop​(com.tangosol.application.Context ctx)
        Specified by:
        postStop in interface com.tangosol.application.LifecycleListener