Package com.google.appengine.api.memcache

Provides fast but unreliable data storage, also accessible via a JCache interface.

See: Description

Package com.google.appengine.api.memcache Description

Provides fast but unreliable data storage, also accessible via a JCache interface. Objects may be stored in the cache with an explicit expiration time, but may also be evicted before that expiration to make room for newer, more active entries.

The cache is accessed via a MemcacheService object, obtained from the MemcacheServiceFactory. It offers the cache as a map from key Object to value Object.

In the Development Server, the system property memcache.maxsize can be set to limit the available cache, taking values like "100M" (the default), "10K", or "768" (bytes).

Because the cache offers best-effort data storage, by default most errors are treated as a cache miss. More explicit error handling can be installed via MemcacheService.setErrorHandler(ErrorHandler).

See Also:
MemcacheService, The Memcache Java API in the Google App Engine Developer's Guide., JCache API