Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractCacheEvent - Class in io.github.resilience4j.cache.event
- AbstractCacheEvent(String) - Constructor for class io.github.resilience4j.cache.event.AbstractCacheEvent
- AtomicComputeProcessor() - Constructor for class io.github.resilience4j.cache.CacheRegistryStore.AtomicComputeProcessor
C
- cache - Variable in class io.github.resilience4j.cache.internal.CacheImpl
- Cache<K,
V> - Interface in io.github.resilience4j.cache - CACHE_HIT - Enum constant in enum class io.github.resilience4j.cache.event.CacheEvent.Type
-
A CacheEvent which informs a cache hit
- CACHE_MISS - Enum constant in enum class io.github.resilience4j.cache.event.CacheEvent.Type
-
A CacheEvent which informs a cache miss
- Cache.EventPublisher - Interface in io.github.resilience4j.cache
-
An EventPublisher which can be used to register event consumers.
- Cache.Metrics - Interface in io.github.resilience4j.cache
- CacheEvent - Interface in io.github.resilience4j.cache.event
-
An event which is created by a CircuitBreaker.
- CacheEvent.Type - Enum Class in io.github.resilience4j.cache.event
-
Event types which are created by a CircuitBreaker.
- CacheEventProcessor() - Constructor for class io.github.resilience4j.cache.internal.CacheImpl.CacheEventProcessor
- cacheHits - Variable in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- CacheImpl<K,
V> - Class in io.github.resilience4j.cache.internal - CacheImpl(Cache) - Constructor for class io.github.resilience4j.cache.internal.CacheImpl
- CacheImpl.CacheEventProcessor - Class in io.github.resilience4j.cache.internal
- CacheImpl.CacheMetrics - Class in io.github.resilience4j.cache.internal
- CacheImpl.ComputeIfAbsent<K,
V> - Class in io.github.resilience4j.cache.internal - cacheKey - Variable in class io.github.resilience4j.cache.event.CacheOnHitEvent
- cacheKey - Variable in class io.github.resilience4j.cache.event.CacheOnMissEvent
- CacheMetrics() - Constructor for class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- cacheMisses - Variable in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- cacheName - Variable in class io.github.resilience4j.cache.event.AbstractCacheEvent
- CacheOnErrorEvent - Class in io.github.resilience4j.cache.event
-
A CacheEvent which informs that accessing the cache has caused an exception.
- CacheOnErrorEvent(String, Throwable) - Constructor for class io.github.resilience4j.cache.event.CacheOnErrorEvent
- CacheOnHitEvent<K> - Class in io.github.resilience4j.cache.event
-
A CacheEvent which informs about a cache hit.
- CacheOnHitEvent(String, K) - Constructor for class io.github.resilience4j.cache.event.CacheOnHitEvent
- CacheOnMissEvent<K> - Class in io.github.resilience4j.cache.event
-
A CacheEvent which informs about a cache miss.
- CacheOnMissEvent(String, K) - Constructor for class io.github.resilience4j.cache.event.CacheOnMissEvent
- CacheRegistryStore<E> - Class in io.github.resilience4j.cache
- CacheRegistryStore(Cache) - Constructor for class io.github.resilience4j.cache.CacheRegistryStore
- CacheRegistryStore.AtomicComputeProcessor<E> - Class in io.github.resilience4j.cache
- cacheStore - Variable in class io.github.resilience4j.cache.CacheRegistryStore
- computeIfAbsent(String, Function) - Method in class io.github.resilience4j.cache.CacheRegistryStore
- computeIfAbsent(K, CheckedSupplier) - Method in interface io.github.resilience4j.cache.Cache
-
If the key is not already associated with a cached value, attempts to compute its value using the given supplier and puts it into the cache.
- computeIfAbsent(K, CheckedSupplier) - Method in class io.github.resilience4j.cache.internal.CacheImpl
- ComputeIfAbsent(CheckedSupplier) - Constructor for class io.github.resilience4j.cache.internal.CacheImpl.ComputeIfAbsent
- consumeEvent(CacheEvent) - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheEventProcessor
- creationTime - Variable in class io.github.resilience4j.cache.event.AbstractCacheEvent
D
- decorateCallable(Cache, Callable) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
- decorateCheckedSupplier(Cache, CheckedSupplier) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
- decorateSupplier(Cache, Supplier) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
E
- ERROR - Enum constant in enum class io.github.resilience4j.cache.event.CacheEvent.Type
-
A CacheEvent which informs that at Cache was not available
- eventProcessor - Variable in class io.github.resilience4j.cache.internal.CacheImpl
F
- find(String) - Method in class io.github.resilience4j.cache.CacheRegistryStore
G
- getCacheKey() - Method in class io.github.resilience4j.cache.event.CacheOnHitEvent
- getCacheKey() - Method in class io.github.resilience4j.cache.event.CacheOnMissEvent
- getCacheName() - Method in class io.github.resilience4j.cache.event.AbstractCacheEvent
- getCacheName() - Method in interface io.github.resilience4j.cache.event.CacheEvent
-
Returns the name of the Cache which has created the event.
- getCreationTime() - Method in class io.github.resilience4j.cache.event.AbstractCacheEvent
- getCreationTime() - Method in interface io.github.resilience4j.cache.event.CacheEvent
-
Returns the creation time of Cache event.
- getEventPublisher() - Method in interface io.github.resilience4j.cache.Cache
-
Returns an EventPublisher which can be used to register event consumers.
- getEventPublisher() - Method in class io.github.resilience4j.cache.internal.CacheImpl
- getEventType() - Method in interface io.github.resilience4j.cache.event.CacheEvent
-
Returns the type of the Cache event.
- getEventType() - Method in class io.github.resilience4j.cache.event.CacheOnErrorEvent
- getEventType() - Method in class io.github.resilience4j.cache.event.CacheOnHitEvent
- getEventType() - Method in class io.github.resilience4j.cache.event.CacheOnMissEvent
- getMetrics() - Method in interface io.github.resilience4j.cache.Cache
-
Returns the Metrics of this Cache.
- getMetrics() - Method in class io.github.resilience4j.cache.internal.CacheImpl
- getName() - Method in interface io.github.resilience4j.cache.Cache
- getName() - Method in class io.github.resilience4j.cache.internal.CacheImpl
- getNumberOfCacheHits() - Method in interface io.github.resilience4j.cache.Cache.Metrics
-
Returns the current number of cache hits
- getNumberOfCacheHits() - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- getNumberOfCacheMisses() - Method in interface io.github.resilience4j.cache.Cache.Metrics
-
Returns the current number of cache misses.
- getNumberOfCacheMisses() - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- getThrowable() - Method in class io.github.resilience4j.cache.event.CacheOnErrorEvent
- getValueFromCache(K) - Method in class io.github.resilience4j.cache.internal.CacheImpl
I
- invokeSupplierAndStore(K, CheckedSupplier) - Method in class io.github.resilience4j.cache.internal.CacheImpl
- io.github.resilience4j.cache - package io.github.resilience4j.cache
- io.github.resilience4j.cache.event - package io.github.resilience4j.cache.event
- io.github.resilience4j.cache.internal - package io.github.resilience4j.cache.internal
L
M
O
- of(Cache) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a Retry with default configuration.
- onCacheHit() - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- onCacheHit(EventConsumer) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
- onCacheHit(EventConsumer) - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheEventProcessor
- onCacheHit(K) - Method in class io.github.resilience4j.cache.internal.CacheImpl
- onCacheMiss() - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheMetrics
- onCacheMiss(EventConsumer) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
- onCacheMiss(EventConsumer) - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheEventProcessor
- onCacheMiss(K) - Method in class io.github.resilience4j.cache.internal.CacheImpl
- onError(EventConsumer) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
- onError(EventConsumer) - Method in class io.github.resilience4j.cache.internal.CacheImpl.CacheEventProcessor
- onError(Throwable) - Method in class io.github.resilience4j.cache.internal.CacheImpl
P
- process(MutableEntry, Object...) - Method in class io.github.resilience4j.cache.CacheRegistryStore.AtomicComputeProcessor
- process(MutableEntry, Object...) - Method in class io.github.resilience4j.cache.internal.CacheImpl.ComputeIfAbsent
- publishCacheEvent(Supplier) - Method in class io.github.resilience4j.cache.internal.CacheImpl
- putIfAbsent(String, E) - Method in class io.github.resilience4j.cache.CacheRegistryStore
R
- remove(String) - Method in class io.github.resilience4j.cache.CacheRegistryStore
- replace(String, E) - Method in class io.github.resilience4j.cache.CacheRegistryStore
S
- serialVersionUID - Static variable in class io.github.resilience4j.cache.internal.CacheImpl.ComputeIfAbsent
- supplier - Variable in class io.github.resilience4j.cache.internal.CacheImpl.ComputeIfAbsent
T
- throwable - Variable in class io.github.resilience4j.cache.event.CacheOnErrorEvent
- toString() - Method in class io.github.resilience4j.cache.event.CacheOnErrorEvent
- toString() - Method in class io.github.resilience4j.cache.event.CacheOnHitEvent
- toString() - Method in class io.github.resilience4j.cache.event.CacheOnMissEvent
- Type() - Constructor for enum class io.github.resilience4j.cache.event.CacheEvent.Type
V
- valueOf(String) - Static method in enum class io.github.resilience4j.cache.event.CacheEvent.Type
-
Returns the enum constant of this class with the specified name.
- values() - Method in class io.github.resilience4j.cache.CacheRegistryStore
- values() - Static method in enum class io.github.resilience4j.cache.event.CacheEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values