Class HibernateCacheIntegrationTestFlusher
java.lang.Object
com.atlassian.integrationtest.confluence.cache.HibernateCacheIntegrationTestFlusher
- All Implemented Interfaces:
CacheFlusher
Hibernate cache regions in integration tests are not managed by atlassian-cache thus we *must* flush Hibernate cache regions manually here.
#TODO: CONFSRVDEV-8964 - Better align Hibernate cache in integration tests with real code and remove this flusher.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateCacheIntegrationTestFlusher
(org.hibernate.SessionFactory sessionFactory) -
Method Summary
-
Constructor Details
-
HibernateCacheIntegrationTestFlusher
public HibernateCacheIntegrationTestFlusher(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
flushCaches
public void flushCaches()- Specified by:
flushCaches
in interfaceCacheFlusher
-