Class ConcurrentSizedTimeoutCache<K,V>
java.lang.Object
com.hypixel.hytale.server.worldgen.util.cache.ConcurrentSizedTimeoutCache<K,V>
- All Implemented Interfaces:
Cache<K,V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final intprivate final intprivate final ConcurrentSizedTimeoutCache.Bucket<K,V>[] private final Cleaner.Cleanableprivate final BiConsumer<K, V> private final ScheduledFuture<?> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BUCKET_MIN_CAPACITY
private static final int BUCKET_MIN_CAPACITY- See Also:
-
BUCKET_LOAD_FACTOR
private static final float BUCKET_LOAD_FACTOR- See Also:
-
bucketMask
private final int bucketMask -
buckets
-
computeKey
-
computeValue
-
destroyer
-
future
-
cleanable
-
-
Constructor Details
-
ConcurrentSizedTimeoutCache
-
-
Method Details