mcl.getDiffCacheStats().getName()));
}
DocumentStore ds = store.getDocumentStore();
if (ds instanceof CachingDocumentStore) {
CachingDocumentStore cds = (CachingDocumentStore) ds;
registrations.add(
registerMBean(whiteboard,
CacheStatsMBean.class,
cds.getCacheStats(),
CacheStatsMBean.TYPE,
cds.getCacheStats().getName())
);
}
if (store.getBlobStore() instanceof GarbageCollectableBlobStore) {
BlobGarbageCollector gc = new BlobGarbageCollector() {