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, wait
forEach, spliterator
public NoOpCache()
public NoOpCache(NoOpCacheManager noOpCacheManager)
public boolean containsKey(Object o)
containsKey
in interface javax.cache.Cache
public void loadAll(Set set, boolean b, javax.cache.integration.CompletionListener completionListener)
loadAll
in interface javax.cache.Cache
public Object getAndPut(Object o, Object o2)
getAndPut
in interface javax.cache.Cache
public void putAll(Map map)
putAll
in interface javax.cache.Cache
public boolean putIfAbsent(Object o, Object o2)
putIfAbsent
in interface javax.cache.Cache
public boolean remove(Object o)
remove
in interface javax.cache.Cache
public boolean remove(Object o, Object o2)
remove
in interface javax.cache.Cache
public Object getAndRemove(Object o)
getAndRemove
in interface javax.cache.Cache
public boolean replace(Object o, Object o2, Object v1)
replace
in interface javax.cache.Cache
public boolean replace(Object o, Object o2)
replace
in interface javax.cache.Cache
public Object getAndReplace(Object o, Object o2)
getAndReplace
in interface javax.cache.Cache
public void removeAll(Set set)
removeAll
in interface javax.cache.Cache
public void removeAll()
removeAll
in interface javax.cache.Cache
public void clear()
clear
in interface javax.cache.Cache
public String getName()
getName
in interface javax.cache.Cache
public javax.cache.CacheManager getCacheManager()
getCacheManager
in interface javax.cache.Cache
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface javax.cache.Cache
public boolean isClosed()
isClosed
in interface javax.cache.Cache
public void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
registerCacheEntryListener
in interface javax.cache.Cache
public void deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
deregisterCacheEntryListener
in interface javax.cache.Cache
public Iterator<javax.cache.Cache.Entry> iterator()
public Map invokeAll(Set set, javax.cache.processor.EntryProcessor entryProcessor, Object... objects)
invokeAll
in interface javax.cache.Cache
public Object invoke(Object o, javax.cache.processor.EntryProcessor entryProcessor, Object... objects) throws javax.cache.processor.EntryProcessorException
invoke
in interface javax.cache.Cache
javax.cache.processor.EntryProcessorException
public javax.cache.configuration.Configuration getConfiguration(Class aClass)
getConfiguration
in interface javax.cache.Cache
Copyright © 2022. All rights reserved.