if (loaders.isEmpty() && writers.isEmpty()) {
ComponentRegistry cr = cache.getComponentRegistry();
CacheLoaderInterceptor cli = cr.getComponent(CacheLoaderInterceptor.class);
CacheWriterInterceptor csi = cr.getComponent(CacheWriterInterceptor.class);
cli.disableInterceptor();
csi.disableInterceptor();
cache.removeInterceptor(cli.getClass());
cache.removeInterceptor(csi.getClass());
enabled = false;
}