Class NullsCache2k
-
- All Implemented Interfaces:
-
org.springframework.cache.Cache
public class NullsCache2k extends SpringCache2kCache- Since:
2023-01-25
trydofor
-
-
Constructor Summary
Constructors Constructor Description NullsCache2k(Cache<Object, Object> cache, int size, int live)
-
Method Summary
Modifier and Type Method Description Cache.ValueWrapperget(@NotNull() Object key)<T> Tget(@NotNull() Object key, Class<T> type)<T> Tget(@NotNull() Object key, @NotNull() Callable<T> valueLoader)voidput(@NotNull() Object key, Object value)voidevict(@NotNull() Object key)voidclear()-
Methods inherited from class org.cache2k.extra.spring.SpringCache2kCache
evictIfPresent, getName, getNativeCache, invalidate, isLoaderPresent, putIfAbsent -
Methods inherited from class org.springframework.cache.Cache
getNativeCache, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-