public class NoOpCache extends Object implements javax.cache.Cache
| Constructor and Description |
|---|
NoOpCache() |
NoOpCache(NoOpCacheManager noOpCacheManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
boolean |
containsKey(Object o) |
void |
deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration) |
Object |
get(Object o) |
Map |
getAll(Set set) |
Object |
getAndPut(Object o,
Object o2) |
Object |
getAndRemove(Object o) |
Object |
getAndReplace(Object o,
Object o2) |
javax.cache.CacheManager |
getCacheManager() |
javax.cache.configuration.Configuration |
getConfiguration(Class aClass) |
String |
getName() |
Object |
invoke(Object o,
javax.cache.processor.EntryProcessor entryProcessor,
Object... objects) |
Map |
invokeAll(Set set,
javax.cache.processor.EntryProcessor entryProcessor,
Object... objects) |
boolean |
isClosed() |
Iterator<javax.cache.Cache.Entry> |
iterator() |
void |
loadAll(Set set,
boolean b,
javax.cache.integration.CompletionListener completionListener) |
void |
put(Object o,
Object o2) |
void |
putAll(Map map) |
boolean |
putIfAbsent(Object o,
Object o2) |
void |
registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration) |
boolean |
remove(Object o) |
boolean |
remove(Object o,
Object o2) |
void |
removeAll() |
void |
removeAll(Set set) |
boolean |
replace(Object o,
Object o2) |
boolean |
replace(Object o,
Object o2,
Object v1) |
Object |
unwrap(Class aClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic NoOpCache()
public NoOpCache(NoOpCacheManager noOpCacheManager)
public boolean containsKey(Object o)
containsKey in interface javax.cache.Cachepublic void loadAll(Set set, boolean b, javax.cache.integration.CompletionListener completionListener)
loadAll in interface javax.cache.Cachepublic Object getAndPut(Object o, Object o2)
getAndPut in interface javax.cache.Cachepublic void putAll(Map map)
putAll in interface javax.cache.Cachepublic boolean putIfAbsent(Object o, Object o2)
putIfAbsent in interface javax.cache.Cachepublic boolean remove(Object o)
remove in interface javax.cache.Cachepublic boolean remove(Object o, Object o2)
remove in interface javax.cache.Cachepublic Object getAndRemove(Object o)
getAndRemove in interface javax.cache.Cachepublic boolean replace(Object o, Object o2, Object v1)
replace in interface javax.cache.Cachepublic boolean replace(Object o, Object o2)
replace in interface javax.cache.Cachepublic Object getAndReplace(Object o, Object o2)
getAndReplace in interface javax.cache.Cachepublic void removeAll(Set set)
removeAll in interface javax.cache.Cachepublic void removeAll()
removeAll in interface javax.cache.Cachepublic void clear()
clear in interface javax.cache.Cachepublic String getName()
getName in interface javax.cache.Cachepublic javax.cache.CacheManager getCacheManager()
getCacheManager in interface javax.cache.Cachepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface javax.cache.Cachepublic boolean isClosed()
isClosed in interface javax.cache.Cachepublic void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
registerCacheEntryListener in interface javax.cache.Cachepublic void deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
deregisterCacheEntryListener in interface javax.cache.Cachepublic Iterator<javax.cache.Cache.Entry> iterator()
public Map invokeAll(Set set, javax.cache.processor.EntryProcessor entryProcessor, Object... objects)
invokeAll in interface javax.cache.Cachepublic Object invoke(Object o, javax.cache.processor.EntryProcessor entryProcessor, Object... objects) throws javax.cache.processor.EntryProcessorException
invoke in interface javax.cache.Cachejavax.cache.processor.EntryProcessorExceptionpublic javax.cache.configuration.Configuration getConfiguration(Class aClass)
getConfiguration in interface javax.cache.CacheCopyright © 2022. All rights reserved.