Class CacheOnErrorEvent
java.lang.Object
io.github.resilience4j.cache.event.CacheOnErrorEvent
- All Implemented Interfaces:
CacheEvent
A CacheEvent which informs that accessing the cache has caused an exception.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.resilience4j.cache.event.CacheEvent
CacheEvent.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the Cache which has created the event.Returns the creation time of Cache event.Returns the type of the Cache event.toString()
-
Constructor Details
-
CacheOnErrorEvent
-
-
Method Details
-
getEventType
Description copied from interface:CacheEventReturns the type of the Cache event.- Returns:
- the type of the Cache event
-
getThrowable
-
toString
-
getCacheName
Description copied from interface:CacheEventReturns the name of the Cache which has created the event.- Specified by:
getCacheNamein interfaceCacheEvent- Returns:
- the name of the Cache which has created the event
-
getCreationTime
Description copied from interface:CacheEventReturns the creation time of Cache event.- Specified by:
getCreationTimein interfaceCacheEvent- Returns:
- the creation time of Cache event
-