@Override
protected ModelNode invokeCommand(Cache<?, ?> cache, ModelNode operation) throws Exception {
CacheWriterInterceptor interceptor = getFirstInterceptorWhichExtends(cache.getAdvancedCache()
.getInterceptorChain(), CacheWriterInterceptor.class);
if (interceptor != null) {
interceptor.resetStatistics();
}
return null;
}
}