private void onDocIdSetCache(long ramBytesUsed) { this.ramBytesUsed += ramBytesUsed; LRUQueryCache.this.onDocIdSetCache(key, ramBytesUsed); }
@Override protected void onDocIdSetCache(Object readerCoreKey, long ramBytesUsed) { super.onDocIdSetCache(readerCoreKey, ramBytesUsed); final Stats shardStats = getOrCreateStats(readerCoreKey); shardStats.cacheSize += 1; shardStats.cacheCount += 1; shardStats.ramBytesUsed += ramBytesUsed; StatsAndCount statsAndCount = stats2.get(readerCoreKey); if (statsAndCount == null) { statsAndCount = new StatsAndCount(shardStats); stats2.put(readerCoreKey, statsAndCount); } statsAndCount.count += 1; }
private void onDocIdSetCache(long ramBytesUsed) { this.ramBytesUsed += ramBytesUsed; LRUQueryCache.this.onDocIdSetCache(key, ramBytesUsed); }
private void onDocIdSetCache(long ramBytesUsed) { this.ramBytesUsed += ramBytesUsed; LRUQueryCache.this.onDocIdSetCache(key, ramBytesUsed); }
private void onDocIdSetCache(long ramBytesUsed) { this.ramBytesUsed += ramBytesUsed; LRUQueryCache.this.onDocIdSetCache(key, ramBytesUsed); }
@Override protected void onDocIdSetCache(Object readerCoreKey, long ramBytesUsed) { super.onDocIdSetCache(readerCoreKey, ramBytesUsed); final Stats shardStats = getOrCreateStats(readerCoreKey); shardStats.cacheSize += 1; shardStats.cacheCount += 1; shardStats.ramBytesUsed += ramBytesUsed; StatsAndCount statsAndCount = stats2.get(readerCoreKey); if (statsAndCount == null) { statsAndCount = new StatsAndCount(shardStats); stats2.put(readerCoreKey, statsAndCount); } statsAndCount.count += 1; }
@Override protected void onDocIdSetCache(Object readerCoreKey, long ramBytesUsed) { super.onDocIdSetCache(readerCoreKey, ramBytesUsed); final Stats shardStats = getOrCreateStats(readerCoreKey); shardStats.cacheSize += 1; shardStats.cacheCount += 1; shardStats.ramBytesUsed += ramBytesUsed; StatsAndCount statsAndCount = stats2.get(readerCoreKey); if (statsAndCount == null) { statsAndCount = new StatsAndCount(shardStats); stats2.put(readerCoreKey, statsAndCount); } statsAndCount.count += 1; }
@Override protected void onDocIdSetCache(Object readerCoreKey, long ramBytesUsed) { super.onDocIdSetCache(readerCoreKey, ramBytesUsed); final Stats shardStats = getOrCreateStats(readerCoreKey); shardStats.cacheSize += 1; shardStats.cacheCount += 1; shardStats.ramBytesUsed += ramBytesUsed; StatsAndCount statsAndCount = stats2.get(readerCoreKey); if (statsAndCount == null) { statsAndCount = new StatsAndCount(shardStats); stats2.put(readerCoreKey, statsAndCount); } statsAndCount.count += 1; }
@Override protected void onDocIdSetCache(Object readerCoreKey, long ramBytesUsed) { assert Thread.holdsLock(this); super.onDocIdSetCache(readerCoreKey, ramBytesUsed); final Stats shardStats = getOrCreateStats(readerCoreKey); shardStats.cacheSize += 1; shardStats.cacheCount += 1; shardStats.ramBytesUsed += ramBytesUsed; StatsAndCount statsAndCount = stats2.get(readerCoreKey); if (statsAndCount == null) { statsAndCount = new StatsAndCount(shardStats); stats2.put(readerCoreKey, statsAndCount); } statsAndCount.count += 1; }