Index

A C E F G H I L M P R S T V W 
All Classes and Interfaces|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.EmptyCache
 
clear() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 
clear() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
clearUnlocked() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
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.EmptyCache
 
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
Deprecated.
 
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.EmptyCache
 
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
Deprecated.
 
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.EmptyCache
 
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
Deprecated.
 
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

EmptyCache<K,V> - Class in io.github.xanthic.cache.core.delegate
 
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
 

F

forEach(BiConsumer<? super K, ? super V>) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
forEach(BiConsumer<? super K, ? super V>) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 

G

GenericMapCacheDelegate<K,V> - Class in io.github.xanthic.cache.core.delegate
Delegates cache calls to a Map view that already conforms to a desired ICacheSpec.
GenericMapCacheDelegate(Map<K, V>) - Constructor for class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 
get() - Static method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
get(K) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
get(K) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 
get(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
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
 
getOrDefault(K, V) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
getUnlocked(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 

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
 
highContention() - Method in class io.github.xanthic.cache.core.CacheApiSpec
 
highContention(Boolean) - Method in class io.github.xanthic.cache.core.CacheApiSpec
 

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
Deprecated.
 
LockedAbstractCache<K,V> - Class in io.github.xanthic.cache.core
Deprecated.
no longer used by Xanthic to implement any canonical cache provider
LockedAbstractCache() - Constructor for class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 

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.EmptyCache
 
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
Deprecated.
 

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.EmptyCache
 
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
Deprecated.
 
putAll(Map<? extends K, ? extends V>) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
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
Deprecated.
 
putIfAbsent(K, V) - Method in class io.github.xanthic.cache.core.AbstractCache
 
putIfAbsent(K, V) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
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
Deprecated.
 
putUnlocked(K, V) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 

R

read(Supplier<T>) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
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.EmptyCache
 
remove(K) - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 
remove(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
removeUnlocked(K) - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
replace(K, V) - Method in class io.github.xanthic.cache.core.AbstractCache
 
replace(K, V) - Method in class io.github.xanthic.cache.core.delegate.EmptyCache
 
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
Deprecated.
 
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.EmptyCache
 
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
Deprecated.
 

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.EmptyCache
 
size() - Method in class io.github.xanthic.cache.core.delegate.GenericMapCacheDelegate
 
size() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 
sizeUnlocked() - Method in class io.github.xanthic.cache.core.LockedAbstractCache
Deprecated.
 

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
Deprecated.
 
A C E F G H I L M P R S T V W 
All Classes and Interfaces|All Packages