Interface CacheEvent<R>
- All Known Implementing Classes:
CacheEvent.Removed
,CacheEvent.Updated
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <R> CacheEvent.Removed<R>
removed
(R value) static <R> CacheEvent<R>
toCacheEvent
(boolean isAddOrUpdateEvent, R eventValue) static <T> Function<T,
CacheEvent<T>> toCacheEvent
(Predicate<T> isAddOrUpdateEvent) static <T,
R> Function<T, CacheEvent<R>> toCacheEvent
(Predicate<T> isAddOrUpdateEvent, Function<T, R> cacheEventValueExtractor) static <R> CacheEvent.Updated<R>
updated
(R value) value()
-
Method Details
-
updated
-
removed
-
toCacheEvent
-
toCacheEvent
static <T,R> Function<T,CacheEvent<R>> toCacheEvent(Predicate<T> isAddOrUpdateEvent, Function<T, R> cacheEventValueExtractor) -
toCacheEvent
-
value
R value()
-