Skip to content

Commit d20bb6f

Browse files
committed
removed things not used in code
1 parent 56cc3e8 commit d20bb6f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/main/java/org/example/CacheFilter.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,6 @@ private void evictLeastRecentlyUsed() {
115115
}
116116

117117
// Diagnostik-metoder
118-
public int getCacheSize() {
119-
return cache.size();
120-
}
121-
122-
public long getCurrentBytes() {
123-
return currentBytes.get();
124-
}
125-
126-
public long getMaxBytes() {
127-
return MAX_CACHE_BYTES;
128-
}
129-
130-
public double getCacheUtilization() {
131-
return (double) currentBytes.get() / MAX_CACHE_BYTES * 100;
132-
}
133-
134118
public void clearCache() {
135119
cache.clear();
136120
currentBytes.set(0);

0 commit comments

Comments
 (0)