Skip to content

Commit 968cde4

Browse files
committed
fixing merge Cache.CacheStats -> Cache.Stats
1 parent 59212ac commit 968cde4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/common/cache/LRUCache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ public void remove() {
746746
*
747747
* @return the current cache statistics
748748
*/
749-
public CacheStats stats() {
750-
return new CacheStats(hits.sum(), misses.sum(), evictions.sum());
749+
public Stats stats() {
750+
return new Stats(hits.sum(), misses.sum(), evictions.sum());
751751
}
752752

753753
private void promote(Entry<K, V> entry, long now) {

0 commit comments

Comments
 (0)