Index
A C E G H I L M P R S T V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- AbstractCache<K,V> - Class in io.github.xanthic.cache.core
-
Provides a common implementation of:
Cache.computeIfAbsent(Object, Function)
Cache.putIfAbsent(Object, Object)
Cache.merge(Object, Object, BiFunction)
- AbstractCache() - Constructor for class io.github.xanthic.cache.core.AbstractCache
- AbstractCacheProvider - Class in io.github.xanthic.cache.core
-
Provides helper methods commonly used for implementing
CacheProvider
. - AbstractCacheProvider() - Constructor for class io.github.xanthic.cache.core.AbstractCacheProvider
C
- CacheApi - Class in io.github.xanthic.cache.core
-
Primary API interaction point to build
Cache
instances. - CacheApiSettings - Class in io.github.xanthic.cache.core
-
Holds a registry of default settings and cache providers.
- CacheApiSpec<K,V> - Class in io.github.xanthic.cache.core
-
Fluent implementation of
ICacheSpec
. - canEqual(Object) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- clear() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- clear() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- clearUnlocked() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.AbstractCache
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- computeIfAbsent(K, Function<K, V>) - Method in class io.github.xanthic.cache.core.AbstractCache
- computeIfAbsent(K, Function<K, V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- computeIfAbsent(K, Function<K, V>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.AbstractCache
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- create(Consumer<CacheApiSpec<K, V>>) - Static method in class io.github.xanthic.cache.core.CacheApi
-
Builds a generic
Cache
according to the desired specification.
E
- equals(Object) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- equals(Object) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- executor() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- executor(ScheduledExecutorService) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- expiryTime() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- expiryTime(Duration) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- expiryType() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- expiryType(ExpiryType) - Method in class io.github.xanthic.cache.core.CacheApiSpec
G
- GenericMapCacheDelegate<K,V> - Class in io.github.xanthic.cache.core.delegate
-
Delegates cache calls to a
Map
view that already conforms to a desiredICacheSpec
. - GenericMapCacheDelegate(Map<K, V>) - Constructor for class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- get(K) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- get(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- getDefaultCacheProvider() - Method in class io.github.xanthic.cache.core.CacheApiSettings
-
Obtains the default cache provider.
- getDefaultMisconfigurationPolicy() - Method in class io.github.xanthic.cache.core.CacheApiSettings
-
The default misconfiguration policy.
- getExpiryType(ExpiryType) - Method in class io.github.xanthic.cache.core.AbstractCacheProvider
- getInstance() - Static method in class io.github.xanthic.cache.core.CacheApiSettings
- getLock() - Method in class io.github.xanthic.cache.core.AbstractCache
- getMap() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- getUnlocked(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
H
- handleExpiration(Duration, ExpiryType, BiConsumer<Duration, ExpiryType>) - Method in class io.github.xanthic.cache.core.AbstractCacheProvider
- handleUnsupportedExpiry(Duration) - Method in class io.github.xanthic.cache.core.AbstractCacheProvider
- hashCode() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- hashCode() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
I
- io.github.xanthic.cache.core - package io.github.xanthic.cache.core
- io.github.xanthic.cache.core.delegate - package io.github.xanthic.cache.core.delegate
L
- lock - Variable in class io.github.xanthic.cache.core.LockedAbstractCache
- LockedAbstractCache<K,V> - Class in io.github.xanthic.cache.core
-
Safely implements
Cache
methods usingReadWriteLock
. - LockedAbstractCache() - Constructor for class io.github.xanthic.cache.core.LockedAbstractCache
M
- maxSize() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- maxSize(Long) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- merge(K, V, BiFunction<V, V, V>) - Method in class io.github.xanthic.cache.core.AbstractCache
- merge(K, V, BiFunction<V, V, V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- merge(K, V, BiFunction<V, V, V>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
P
- preferredType() - Method in class io.github.xanthic.cache.core.AbstractCacheProvider
- process(Consumer<CacheApiSpec<K, V>>) - Static method in class io.github.xanthic.cache.core.CacheApiSpec
-
Constructs a validated implementation of
ICacheSpec
. - provider() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- provider(CacheProvider) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- put(K, V) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- put(K, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- putAll(Map<? extends K, ? extends V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- putAll(Map<? extends K, ? extends V>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- putIfAbsent(K, V) - Method in class io.github.xanthic.cache.core.AbstractCache
- putIfAbsent(K, V) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- putIfAbsent(K, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- putUnlocked(K, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
R
- read(Supplier<T>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- registerCacheProvider(Class<? extends CacheProvider>, CacheProvider) - Method in class io.github.xanthic.cache.core.CacheApiSettings
-
Registers an available provider for the cache settings.
- removalListener() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- removalListener(RemovalListener<K, V>) - Method in class io.github.xanthic.cache.core.CacheApiSpec
- remove(K) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- remove(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- removeUnlocked(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- replace(K, V) - Method in class io.github.xanthic.cache.core.AbstractCache
- replace(K, V) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- replace(K, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- replace(K, V, V) - Method in class io.github.xanthic.cache.core.AbstractCache
- replace(K, V, V) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- replace(K, V, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
S
- setDefaultCacheProvider(CacheProvider) - Method in class io.github.xanthic.cache.core.CacheApiSettings
-
Sets the default cache provider to use for caches that don't explicitly specify a provider to use.
- setDefaultMisconfigurationPolicy(MisconfigurationPolicy) - Method in class io.github.xanthic.cache.core.CacheApiSettings
-
The default misconfiguration policy.
- size() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
- size() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
- sizeUnlocked() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
T
- toString() - Method in class io.github.xanthic.cache.core.CacheApiSpec
- toString() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
V
- validate() - Method in class io.github.xanthic.cache.core.CacheApiSpec
-
Ensures the configured specification is valid.
W
- write(Supplier<T>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
All Classes|All Packages