Class LifecycleManager

java.lang.Object
org.infinispan.query.remote.impl.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 InternalCacheNames.PROTOBUF_METADATA_CACHE_NAME cache before it gets started.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.lifecycle.ModuleLifecycle

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

    • LifecycleManager

      public LifecycleManager()
  • Method Details

    • 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 InternalCacheNames.PROTOBUF_METADATA_CACHE_NAME cache before it gets started. Also creates query components for user caches.
      Specified by:
      cacheStarting in interface org.infinispan.lifecycle.ModuleLifecycle