Remove soft values

This commit is contained in:
TheMode 2021-05-18 16:18:51 +02:00
parent 5ddda986a7
commit cc97062dfa
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ public class TemporaryCache<T> {
public TemporaryCache(long duration, TimeUnit timeUnit, RemovalListener<UUID, T> removalListener) {
this.cache = CacheBuilder.newBuilder()
.expireAfterWrite(duration, timeUnit)
.softValues()
.removalListener(removalListener)
.build();
}