open class NoOpCache : Cache
A no operation Cache implementation suitable for disabling caching.
Will simply accept any items into the cache not actually storing them.
Author
Costin Leau
Author
Stephane Nicoll
Since
4.3.4
NoOpCache(name: String)
Create a NoOpCache instance with the specified name |
open fun clear(): Unit |
|
open fun evict(key: Any): Unit |
|
open fun get(key: Any): ValueWrapperopen fun <T : Any> get(key: Any, type: Class<T>): Topen fun <T : Any> get(key: Any, valueLoader: Callable<T>): T |
|
open fun getName(): String |
|
open fun getNativeCache(): Any |
|
open fun put(key: Any, value: Any): Unit |
|
open fun putIfAbsent(key: Any, value: Any): ValueWrapper |