Index
C D E F G I O P R T V
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
C
- Cache<K,V> - Interface in io.github.resilience4j.cache
- CACHE_HIT - io.github.resilience4j.cache.event.CacheEvent.Type
-
A CacheEvent which informs a cache hit
- CACHE_MISS - 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 in io.github.resilience4j.cache.event
-
Event types which are created by a CircuitBreaker.
- CacheImpl<K,V> - Class in io.github.resilience4j.cache.internal
- CacheImpl(Cache<K, V>) - Constructor for class io.github.resilience4j.cache.internal.CacheImpl
- 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<String, E>) - Constructor for class io.github.resilience4j.cache.CacheRegistryStore
- computeIfAbsent(String, Function<? super String, ? extends E>) - Method in class io.github.resilience4j.cache.CacheRegistryStore
- computeIfAbsent(K, CheckedFunction0<V>) - 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, CheckedFunction0<V>) - Method in class io.github.resilience4j.cache.internal.CacheImpl
D
- decorateCallable(Cache<K, R>, Callable<R>) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
- decorateCheckedSupplier(Cache<K, R>, CheckedFunction0<R>) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
- decorateSupplier(Cache<K, R>, Supplier<R>) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a functions which returns a value from a cache, if it exists.
E
- ERROR - io.github.resilience4j.cache.event.CacheEvent.Type
-
A CacheEvent which informs that at Cache was not available
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 interface io.github.resilience4j.cache.event.CacheEvent
-
Returns the name of the Cache which has created the event.
- 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
- getNumberOfCacheMisses() - Method in interface io.github.resilience4j.cache.Cache.Metrics
-
Returns the current number of cache misses.
- getThrowable() - Method in class io.github.resilience4j.cache.event.CacheOnErrorEvent
I
- 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
O
- of(Cache<K, V>) - Static method in interface io.github.resilience4j.cache.Cache
-
Creates a Retry with default configuration.
- onCacheHit(EventConsumer<CacheOnHitEvent>) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
- onCacheMiss(EventConsumer<CacheOnMissEvent>) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
- onError(EventConsumer<CacheOnErrorEvent>) - Method in interface io.github.resilience4j.cache.Cache.EventPublisher
P
- 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
T
- 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
V
- valueOf(String) - Static method in enum io.github.resilience4j.cache.event.CacheEvent.Type
-
Returns the enum constant of this type with the specified name.
- values() - Method in class io.github.resilience4j.cache.CacheRegistryStore
- values() - Static method in enum io.github.resilience4j.cache.event.CacheEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes|All Packages