Package org.infinispan.query.impl
Class LifecycleManager
java.lang.Object
org.infinispan.query.impl.LifecycleManager
- All Implemented Interfaces:
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 TypeMethodDescriptionvoidvoidcacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalCfg) voidcacheStarted(ComponentRegistry cr, String cacheName) voidcacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName) Registers the Search interceptor in the cache before it gets startedvoidcacheStopped(ComponentRegistry cr, String cacheName) voidcacheStopping(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
Registers the Search interceptor in the cache before it gets started- Specified by:
cacheStartingin interfaceModuleLifecycle
-
enableRemoteQuery
public void enableRemoteQuery() -
cacheStarted
- Specified by:
cacheStartedin interfaceModuleLifecycle
-
cacheStopping
- Specified by:
cacheStoppingin interfaceModuleLifecycle
-
cacheStopped
- Specified by:
cacheStoppedin interfaceModuleLifecycle
-
cacheManagerStarting
- Specified by:
cacheManagerStartingin interfaceModuleLifecycle
-
cacheManagerStarted
- Specified by:
cacheManagerStartedin interfaceModuleLifecycle
-