final NRTCachingDirectory nrtCachingDirectory = (NRTCachingDirectory) directory; this.directoryClass = nrtCachingDirectory.getDelegate().getClass().getName(); this.directoryCachedFiles = nrtCachingDirectory.listCachedFiles(); this.directoryCachedRamUsed = FileUtils.byteCountToDisplaySize(nrtCachingDirectory.ramBytesUsed()); } else {