Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.api.memcache
Class MemcacheServiceFactory

    java.lang.Object
      com.google.appengine.api.memcache.MemcacheServiceFactory

    public class MemcacheServiceFactory

extends java.lang.Object

The factory by which users acquire a handle to the MemcacheService.

Method Summary
`static MemcacheService` | `getMemcacheService()` Gets a handle to the cache service.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getMemcacheService

    public static MemcacheService getMemcacheService()

  Gets a handle to the cache service. Although there is only one actual cache, an application may make as many `MemcacheService` instances as it finds convenient.

  If using multiple instances, note that the error handler established with `MemcacheService.setErrorHandler()` is specific to each instance, as is the namespace set by `MemcacheService.setNamespace(String)` and read by `MemcacheService.getNamespace()`.

  Returns:
    a new `MemcacheService` instance.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD