Index
All Classes and Interfaces|All Packages
A
- addEvictionGuard(Predicate<? super K>) - Method in interface org.aksw.commons.cache.async.AsyncClaimingCache
-
Protect eviction of certain keys as long as the guard is not disposed.
- addEvictionGuard(Predicate<? super K>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
- addEvictionGuard(Predicate<? super K>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
-
Registers a predicate that 'caches' entries about to be evicted When closing the registration then keys that have not moved back into the ache by reference will be immediately evicted.
- addEvictionGuard(Predicate<? super K>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- AsyncClaimingCache<K,
V> - Interface in org.aksw.commons.cache.async -
Interface for an async cache that allows "claiming" (= making explicit references) to entries.
- AsyncClaimingCache3Impl<K,
V> - Class in org.aksw.commons.cache.async -
An extension of loading cache that allows for making explicit references to cached entries such that they won't be evicted.
- AsyncClaimingCache3Impl(Caffeine<Object, Object>, Function<K, V>, RemovalListener<K, V>, RemovalListener<K, V>, Duration) - Constructor for class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
- AsyncClaimingCacheImpl<K,
V> - Class in org.aksw.commons.cache.async -
Implementation of async claiming cache.
- AsyncClaimingCacheImpl(Map<K, RefFuture<V>>, AsyncLoadingCache<K, V>, Map<K, V>, LinkedList<Predicate<? super K>>, BiConsumer<K, RefFuture<V>>, BiConsumer<K, RefFuture<V>>, RemovalListener<K, V>) - Constructor for class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- AsyncClaimingCacheImpl.Builder<K,
V> - Class in org.aksw.commons.cache.async - AsyncClaimingCacheWithTransformValue<K,
V1, V2> - Class in org.aksw.commons.cache.async - AsyncClaimingCacheWithTransformValue(AsyncClaimingCache<K, V1>, Function<? super V1, ? extends V2>) - Constructor for class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- AsyncClaimingMapImpl<K,
V> - Class in org.aksw.commons.cache.async - AsyncClaimingMapImpl() - Constructor for class org.aksw.commons.cache.async.AsyncClaimingMapImpl
- AsyncRefCache<K,
V> - Class in org.aksw.commons.cache.async -
A wrapper around a cache that on each lookup returns a fresh CompletableFuture that can be cancelled independently.
- AsyncRefCache(Caffeine<Object, Object>, Function<K, V>, RemovalListener<K, V>) - Constructor for class org.aksw.commons.cache.async.AsyncRefCache
- await(RefFuture<V>) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
B
- build() - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- Builder() - Constructor for class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
C
- cache - Variable in class org.aksw.commons.cache.plain.ClaimingCacheOld
- cache - Variable in class org.aksw.commons.cache.plain.NavigableClamingCache
- cache - Variable in class org.aksw.commons.cache.plain.RangeCache
- cacheKeys - Variable in class org.aksw.commons.cache.plain.NavigableClamingCache
- cacheKeys - Variable in class org.aksw.commons.cache.plain.RangeCache
- cacheLoader - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- caffeine - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- claim(K) - Method in interface org.aksw.commons.cache.async.AsyncClaimingCache
-
Claim a reference to the key's entry.
- claim(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Claim a reference to the key's entry.
- claim(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- claim(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- claim(K) - Method in interface org.aksw.commons.cache.async.ClaimingMap
- claim(K) - Method in interface org.aksw.commons.cache.plain.ClaimingCache
-
Claim a reference to the key's entry.
- claim(K) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOld
-
Claim a reference to the key's entry.
- claim(K) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
- claimAll(Range<C>) - Method in class org.aksw.commons.cache.plain.NavigableClamingCache
-
Claim all items in the given request range
- claimAll(Range<C>) - Method in class org.aksw.commons.cache.plain.RangeCache
-
Claim all items in the given request range
- claimed - Variable in class org.aksw.commons.cache.plain.ClaimingCacheOld
- claimed - Variable in class org.aksw.commons.cache.plain.NavigableClamingCache
- claimed - Variable in class org.aksw.commons.cache.plain.RangeCache
- claimIfPresent(K) - Method in interface org.aksw.commons.cache.async.AsyncClaimingCache
-
Cannot raise an ExecutionException because it does not trigger loading
- claimIfPresent(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Cannot raise an ExecutionException because it does not trigger loading
- claimIfPresent(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
-
Claim a key only if it is already present.
- claimIfPresent(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- claimIfPresent(K) - Method in interface org.aksw.commons.cache.plain.ClaimingCache
-
Cannot raise an ExecutionException because it does not trigger loading
- claimIfPresent(K) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOld
-
Cannot raise an ExecutionException because it does not trigger loading
- claimIfPresent(K) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
- ClaimingCache<K,
V> - Interface in org.aksw.commons.cache.plain - ClaimingCacheOld<K,
V> - Class in org.aksw.commons.cache.plain -
An extension of loading cache that allows for making explicit references to cached entries such that they won't be evicted.
- ClaimingCacheOld(CacheBuilder<Object, Object>, Function<K, Ref<V>>, RemovalListener<K, Ref<V>>) - Constructor for class org.aksw.commons.cache.plain.ClaimingCacheOld
- ClaimingCacheOverAsync<K,
V> - Class in org.aksw.commons.cache.plain - ClaimingCacheOverAsync(AsyncClaimingCache<K, V>) - Constructor for class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
- ClaimingMap<K,
V> - Interface in org.aksw.commons.cache.async - claimListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- claimListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- claimUnsafe(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
- claimUnsafe(K) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOld
- create(Caffeine<Object, Object>, Function<K, V>, RemovalListener<K, V>) - Static method in class org.aksw.commons.cache.async.AsyncRefCache
-
Whether to cancel loading of items that were unclaimed before loading completed, if false, the future returned by the master will not be cancelled
- create(CacheBuilder<Object, Object>, Function<K, Ref<V>>, RemovalListener<K, Ref<V>>) - Static method in class org.aksw.commons.cache.plain.ClaimingCacheOld
- create(Duration, Caffeine<Object, Object>, Function<K, V>, RemovalListener<K, V>, RemovalListener<K, V>) - Static method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
- create(AsyncClaimingCache<K, V1>, Function<? super V1, ? extends V2>) - Static method in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
D
- delegate - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- delegate - Variable in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
E
- evictionGuards - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- evictionListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
F
- filterByRange(NavigableMap<K, V>, Range<K>) - Static method in class org.aksw.commons.cache.plain.NavigableClamingCache
-
Create a set view over a navigable set with items filtered to the given range
- filterByRange(NavigableSet<T>, Range<T>) - Static method in class org.aksw.commons.cache.plain.NavigableClamingCache
-
Create a set view over a navigable set with items filtered to the given range
G
- getAsCompletableFuture(K) - Method in class org.aksw.commons.cache.async.AsyncRefCache
-
Get a fresh complatable future to the key.
- getAsRefFuture(K) - Method in class org.aksw.commons.cache.async.AsyncRefCache
-
Get a fresh reference to the item corresponding to 'key'.
- getIfPresent(K) - Method in class org.aksw.commons.cache.async.AsyncRefCache
H
- hideInnerRef(Ref<? extends Ref<V>>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
- hideInnerRef(Ref<? extends Ref<V>>, Object) - Static method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
I
- invalidateAll() - Method in interface org.aksw.commons.cache.async.AsyncClaimingCache
- invalidateAll() - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Invalidates all items in level3 Items that are currently referenced (level 1) or scheduled for sync (level 2) are unaffected.
- invalidateAll() - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- invalidateAll() - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
- invalidateAll() - Method in class org.aksw.commons.cache.async.AsyncRefCache
- invalidateAll() - Method in interface org.aksw.commons.cache.plain.ClaimingCache
-
Get a resource without claiming it.
- invalidateAll() - Method in class org.aksw.commons.cache.plain.ClaimingCacheOld
- invalidateAll() - Method in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
- invalidationLock - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
K
- keyToSynchronizer - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
L
- level1 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
The map of claimed items; the value is a reference to the RefFuture of level3 Once the outer reference gets closed (i.e.
- level1 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- level2 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Items that are no longer claimed are added to level2 from where after a delay - they are atomically evicted from level2 and added to level3.
- level2 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- level2RemovalListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Whether to cancel loading of items that were unclaimed before loading completed, if false, the future returned by level3 will not be cancelled
- level3 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
The cache with the primary loader
- level3 - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- link(Ref<? extends Ref<V>>) - Method in class org.aksw.commons.cache.plain.ClaimingCacheOld
M
- main(String[]) - Static method in class org.aksw.commons.cache.async.AsyncRefCache
- master - Variable in class org.aksw.commons.cache.async.AsyncRefCache
-
The cache with the primary loader
N
- NavigableClamingCache<C extends Comparable<C>,
V> - Class in org.aksw.commons.cache.plain -
An extension of loading cache that allows for making explicit references to cached entries such that they won't be evicted.
- NavigableClamingCache(CacheBuilder<C, V>) - Constructor for class org.aksw.commons.cache.plain.NavigableClamingCache
- newBuilder(Caffeine<Object, Object>) - Static method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
O
- org.aksw.commons.cache.async - package org.aksw.commons.cache.async
- org.aksw.commons.cache.plain - package org.aksw.commons.cache.plain
P
- put(Range<C>, V) - Method in class org.aksw.commons.cache.plain.RangeCache
- put(C, V) - Method in class org.aksw.commons.cache.plain.NavigableClamingCache
- put(K, RefFuture<V>) - Method in class org.aksw.commons.cache.async.AsyncRefCache
R
- RangeCache<C extends Comparable<C>,
V> - Class in org.aksw.commons.cache.plain -
An extension of loading cache that allows for making explicit references to cached entries such that they won't be evicted.
- RangeCache(CacheBuilder<Range<C>, V>) - Constructor for class org.aksw.commons.cache.plain.RangeCache
- runLevel3Eviction() - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
S
- setCacheLoader(CacheLoader<K, V>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- setClaimListener(BiConsumer<K, RefFuture<V>>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- setEvictionListener(RemovalListener<K, V>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- setUnclaimListener(BiConsumer<K, RefFuture<V>>) - Method in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- slave - Variable in class org.aksw.commons.cache.async.AsyncRefCache
-
A 'slave' map that wraps the completable futures of the master as a ref The slave is synchronized with the master - it atomically contains the same keys.
- sync(K) - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
-
Attempts to run the level2 removal action on the entry with the given key.
- syncAll() - Method in class org.aksw.commons.cache.async.AsyncClaimingCache3Impl
T
- transform - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheWithTransformValue
U
- unclaimListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
- unclaimListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl
- userEvictionListener - Variable in class org.aksw.commons.cache.async.AsyncClaimingCacheImpl.Builder
W
- wrap(AsyncClaimingCache<K, V>) - Static method in class org.aksw.commons.cache.plain.ClaimingCacheOverAsync
All Classes and Interfaces|All Packages