Class GCache
java.lang.Object
com.google.appengine.api.memcache.stdimpl.GCache
- All Implemented Interfaces:
Map,javax.cache.Cache
JCache Cache implementation using Memcache.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(javax.cache.CacheListener cacheListener) voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) Not supported.entrySet()Not supported.voidevict()getAll(Collection collection) javax.cache.CacheEntryjavax.cache.CacheStatisticsbooleanisEmpty()keySet()Not supported.voidNot supported.voidloadAll(Collection collection) Not supported.voidvoidremoveListener(javax.cache.CacheListener cacheListener) intsize()values()Not supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
GCache
Creates a JCache implementation over the provided service with the given properties.- Parameters:
properties- Properties for this cache.
-
-
Method Details
-
addListener
public void addListener(javax.cache.CacheListener cacheListener) - Specified by:
addListenerin interfacejavax.cache.Cache
-
evict
public void evict()- Specified by:
evictin interfacejavax.cache.Cache
-
getAll
- Specified by:
getAllin interfacejavax.cache.Cache
-
getCacheEntry
- Specified by:
getCacheEntryin interfacejavax.cache.Cache
-
getCacheStatistics
public javax.cache.CacheStatistics getCacheStatistics()- Specified by:
getCacheStatisticsin interfacejavax.cache.Cache
-
load
Not supported.- Specified by:
loadin interfacejavax.cache.Cache
-
loadAll
Not supported.- Specified by:
loadAllin interfacejavax.cache.Cache
-
peek
- Specified by:
peekin interfacejavax.cache.Cache
-
removeListener
public void removeListener(javax.cache.CacheListener cacheListener) - Specified by:
removeListenerin interfacejavax.cache.Cache
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
Not supported.- Specified by:
containsValuein interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
Not supported. -
values
Not supported. -
entrySet
Not supported.
-