alexandroid/decompiled/jadx/sources/com/dee/app/cachemanager/CacheStats.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

66 lines
1.8 KiB
Java

package com.dee.app.cachemanager;
import java.util.concurrent.atomic.AtomicInteger;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes6.dex */
public class CacheStats implements CacheStatistics {
private AtomicInteger missCount = new AtomicInteger();
private AtomicInteger hitCount = new AtomicInteger();
private AtomicInteger evictionCount = new AtomicInteger();
private AtomicInteger putCount = new AtomicInteger();
private AtomicInteger errorCount = new AtomicInteger();
public void clearStats() {
this.putCount.set(0);
this.evictionCount.set(0);
this.hitCount.set(0);
this.missCount.set(0);
this.errorCount.set(0);
}
@Override // com.dee.app.cachemanager.CacheStatistics
public int getErrorCount() {
return this.errorCount.get();
}
@Override // com.dee.app.cachemanager.CacheStatistics
public int getEvictionCount() {
return this.evictionCount.get();
}
@Override // com.dee.app.cachemanager.CacheStatistics
public int getHitCount() {
return this.hitCount.get();
}
@Override // com.dee.app.cachemanager.CacheStatistics
public int getMissCount() {
return this.missCount.get();
}
@Override // com.dee.app.cachemanager.CacheStatistics
public int getPutCount() {
return this.putCount.get();
}
public void incrementErrorCount() {
this.errorCount.incrementAndGet();
}
public void incrementEvictionCount() {
this.evictionCount.incrementAndGet();
}
public void incrementHitCount() {
this.hitCount.incrementAndGet();
}
public void incrementMissCount() {
this.missCount.incrementAndGet();
}
public void incrementPutCount() {
this.putCount.incrementAndGet();
}
}