use of org.infinispan.query.backend.QueryInterceptor in project infinispan by infinispan.
the class LifecycleManager method cacheStopping.
@Override
public void cacheStopping(ComponentRegistry cr, String cacheName) {
QueryInterceptor queryInterceptor = cr.getComponent(QueryInterceptor.class);
if (queryInterceptor != null) {
queryInterceptor.prepareForStopping();
}
SearchMapping searchMapping = cr.getComponent(SearchMapping.class);
if (searchMapping != null) {
searchMapping.close();
}
}
Aggregations