.getInterceptorChain(), TxInterceptor.class);
result.set(txInterceptor != null ? txInterceptor.getRollbacks() : 0);
break;
}
case INVALIDATIONS: {
InvalidationInterceptor invInterceptor = getFirstInterceptorWhichExtends(cache.getAdvancedCache()
.getInterceptorChain(), InvalidationInterceptor.class);
result.set(invInterceptor != null ? invInterceptor.getInvalidations() : 0);
break;
}
case PASSIVATIONS: {
PassivationManager manager = cache.getAdvancedCache().getComponentRegistry().getComponent(PassivationManager.class);
result.set(manager != null ? manager.getPassivations() : 0);