public StoreStats stats() throws IOException { ensureOpen(); return new StoreStats(directory.estimateSize()); }
public static StoreStats readStoreStats(StreamInput in) throws IOException { StoreStats store = new StoreStats(); store.readFrom(in); return store; }
break; case Store: store = new StoreStats(); break; case Indexing:
public StoreStats stats() throws IOException { ensureOpen(); return new StoreStats(directory.estimateSize()); }
public StoreStatsCache(TimeValue refreshInterval, Directory directory, DirectoryService directoryService) throws IOException { super(refreshInterval, new StoreStats(estimateSize(directory), directoryService.throttleTimeInNanos())); this.directory = directory; this.directoryService = directoryService; }
StoreStatsCache(TimeValue refreshInterval, Directory directory, DirectoryService directoryService) throws IOException { super(refreshInterval, new StoreStats(estimateSize(directory), directoryService.throttleTimeInNanos())); this.directory = directory; this.directoryService = directoryService; }
public StoreStats stats() throws IOException { ensureOpen(); return new StoreStats(directory.estimateSize()); }
this.store = new StoreStats(); this.fieldData = new FieldDataStats(); this.queryCache = new QueryCacheStats();
@Override protected StoreStats refresh() { try { return new StoreStats(estimateSize(directory), directoryService.throttleTimeInNanos()); } catch (IOException ex) { throw new ElasticsearchException("failed to refresh store stats", ex); } }
@Override protected StoreStats refresh() { try { return new StoreStats(estimateSize(directory), directoryService.throttleTimeInNanos()); } catch (IOException ex) { throw new ElasticsearchException("failed to refresh store stats", ex); } }
store = new StoreStats(); store.add(stats.getStore());
break; case Store: store = new StoreStats(); break; case Indexing:
break; case Store: store = new StoreStats(); break; case Indexing:
break; case Store: store = new StoreStats(); break; case Indexing:
break; case Store: store = new StoreStats(); break; case Indexing:
this.store = new StoreStats(); this.fieldData = new FieldDataStats(); this.queryCache = new QueryCacheStats();
this.store = new StoreStats(); this.fieldData = new FieldDataStats(); this.queryCache = new QueryCacheStats();
this.store = new StoreStats(); this.fieldData = new FieldDataStats(); this.queryCache = new QueryCacheStats();
this.store = new StoreStats(); this.fieldData = new FieldDataStats(); this.queryCache = new QueryCacheStats();
store = new StoreStats(); store.add(stats.getStore());