Package org.infinispan.query.impl
Class LifecycleManager
java.lang.Object
org.infinispan.query.impl.LifecycleManager
- All Implemented Interfaces:
org.infinispan.lifecycle.ModuleLifecycle
Lifecycle of the Query module: initializes the Hibernate Search engine and shuts it down at cache stop. Each cache
manager has its own instance of this class during its lifetime.
- Author:
- Sanne Grinovero <sanne@hibernate.org> (C) 2011 Red Hat Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringOptional integer system property that sets value ofBooleanQuery.setMaxClauseCount(int). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheManagerStarted(org.infinispan.factories.GlobalComponentRegistry gcr) voidcacheManagerStarting(org.infinispan.factories.GlobalComponentRegistry gcr, org.infinispan.configuration.global.GlobalConfiguration globalCfg) voidcacheStarted(org.infinispan.factories.ComponentRegistry cr, String cacheName) voidcacheStarting(org.infinispan.factories.ComponentRegistry cr, org.infinispan.configuration.cache.Configuration cfg, String cacheName) Registers the Search interceptor in the cache before it gets startedvoidcacheStopped(org.infinispan.factories.ComponentRegistry cr, String cacheName) voidcacheStopping(org.infinispan.factories.ComponentRegistry cr, String cacheName) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.lifecycle.ModuleLifecycle
cacheManagerStopped, cacheManagerStopping
-
Field Details
-
MAX_BOOLEAN_CLAUSES_SYS_PROP
Optional integer system property that sets value ofBooleanQuery.setMaxClauseCount(int).- See Also:
-
-
Constructor Details
-
LifecycleManager
public LifecycleManager()
-
-
Method Details
-
cacheStarting
public void cacheStarting(org.infinispan.factories.ComponentRegistry cr, org.infinispan.configuration.cache.Configuration cfg, String cacheName) Registers the Search interceptor in the cache before it gets started- Specified by:
cacheStartingin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-
enableRemoteQuery
public void enableRemoteQuery() -
cacheStarted
- Specified by:
cacheStartedin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-
cacheStopping
- Specified by:
cacheStoppingin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-
cacheStopped
- Specified by:
cacheStoppedin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-
cacheManagerStarting
public void cacheManagerStarting(org.infinispan.factories.GlobalComponentRegistry gcr, org.infinispan.configuration.global.GlobalConfiguration globalCfg) - Specified by:
cacheManagerStartingin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-
cacheManagerStarted
public void cacheManagerStarted(org.infinispan.factories.GlobalComponentRegistry gcr) - Specified by:
cacheManagerStartedin interfaceorg.infinispan.lifecycle.ModuleLifecycle
-