Class LifecycleManager

  • All Implemented Interfaces:
    org.infinispan.lifecycle.ModuleLifecycle

    public final class LifecycleManager
    extends Object
    implements org.infinispan.lifecycle.ModuleLifecycle
    Initializes components for remote query. Each cache manager has its own instance of this class during its lifetime.
    Since:
    6.0
    Author:
    anistor@redhat.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cacheManagerStarted​(org.infinispan.factories.GlobalComponentRegistry gcr)  
      void cacheManagerStarting​(org.infinispan.factories.GlobalComponentRegistry gcr, org.infinispan.configuration.global.GlobalConfiguration globalCfg)  
      void cacheStarting​(org.infinispan.factories.ComponentRegistry cr, org.infinispan.configuration.cache.Configuration cfg, String cacheName)
      Registers the interceptor in the ___protobuf_metadata cache before it gets started.
      • Methods inherited from interface org.infinispan.lifecycle.ModuleLifecycle

        cacheManagerStopped, cacheManagerStopping, cacheStarted, cacheStopped, cacheStopping
    • Constructor Detail

      • LifecycleManager

        public LifecycleManager()
    • Method Detail

      • cacheManagerStarting

        public void cacheManagerStarting​(org.infinispan.factories.GlobalComponentRegistry gcr,
                                         org.infinispan.configuration.global.GlobalConfiguration globalCfg)
        Specified by:
        cacheManagerStarting in interface org.infinispan.lifecycle.ModuleLifecycle
      • cacheManagerStarted

        public void cacheManagerStarted​(org.infinispan.factories.GlobalComponentRegistry gcr)
        Specified by:
        cacheManagerStarted in interface org.infinispan.lifecycle.ModuleLifecycle
      • cacheStarting

        public void cacheStarting​(org.infinispan.factories.ComponentRegistry cr,
                                  org.infinispan.configuration.cache.Configuration cfg,
                                  String cacheName)
        Registers the interceptor in the ___protobuf_metadata cache before it gets started. Also creates query components for user caches.
        Specified by:
        cacheStarting in interface org.infinispan.lifecycle.ModuleLifecycle