public class HibernateModule extends Object implements Esi4JModule
| Constructor and Description |
|---|
HibernateModule(org.hibernate.SessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.hibernate.SessionFactory |
getSessionFactory() |
Class<?>[] |
getTypes() |
void |
putScrollingProvider(ScrollingSessionProvider scrollingProvider) |
Esi4JRebuildSession |
startRebuildSession(Class<?> type)
must be called by
Esi4JRebuildProcessor implementation before any
modifications to underlying index occur. |
public HibernateModule(org.hibernate.SessionFactory sessionFactory)
public Esi4JRebuildSession startRebuildSession(Class<?> type)
Esi4JModuleEsi4JRebuildProcessor implementation before any
modifications to underlying index occur. This way, a module might decide
to queue or discard write operations until
is calledstartRebuildSession in interface Esi4JModulepublic void putScrollingProvider(ScrollingSessionProvider scrollingProvider)
public Class<?>[] getTypes()
getTypes in interface Esi4JModulepublic void close()
close in interface Esi4JModulepublic org.hibernate.SessionFactory getSessionFactory()
Copyright © 2015 Molindo GmbH. All Rights Reserved.