org.hibernate.search.query.hibernate.impl
Class SecondLevelCacheObjectsInitializer
java.lang.Object
org.hibernate.search.query.hibernate.impl.SecondLevelCacheObjectsInitializer
- All Implemented Interfaces:
- ObjectsInitializer
public class SecondLevelCacheObjectsInitializer
- extends Object
- implements ObjectsInitializer
Check if the entity is available in the second level cache and load it if there
before falling back to the delegate method.
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondLevelCacheObjectsInitializer
public SecondLevelCacheObjectsInitializer(ObjectsInitializer delegate)
initializeObjects
public void initializeObjects(EntityInfo[] entityInfos,
Criteria criteria,
Class<?> entityType,
SearchFactoryImplementor searchFactoryImplementor,
TimeoutManager timeoutManager,
Session session)
- Specified by:
initializeObjects
in interface ObjectsInitializer
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved