|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.memcache.MemcacheServiceFactory
public class MemcacheServiceFactory
The factory by which users acquire a handle to the MemcacheService.
Method Summary | |
---|---|
static AsyncMemcacheService |
getAsyncMemcacheService()
Similar to getMemcacheService() but returns a handle to an
asynchronous version of the cache service. |
static AsyncMemcacheService |
getAsyncMemcacheService(java.lang.String namespace)
Similar to getMemcacheService(String) but returns a handle to an
asynchronous version of the cache service. |
static MemcacheService |
getMemcacheService()
Gets a handle to the cache service. |
static MemcacheService |
getMemcacheService(java.lang.String namespace)
Gets a handle to the cache service, forcing use of specific namespace. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MemcacheService getMemcacheService()
MemcacheService
instances
as it finds convenient.
If using multiple instances, note that the error handler established with
BaseMemcacheService.setErrorHandler(ErrorHandler)
is specific to each
instance.
All operations in the MemcacheService
will use the current
namespace provided by
NamespaceManager.get()
.
MemcacheService
instance.public static MemcacheService getMemcacheService(java.lang.String namespace)
MemcacheService
similar to the one returned by
getMemcacheService()
but it will use specified namespace
for all operations.
namespace
- if not null
forces the use of namespace
for all operations in MemcacheService
. If namespace
is
null
- created will use current namespace
provided by NamespaceManager.get()
.
MemcacheService
instance.public static AsyncMemcacheService getAsyncMemcacheService()
getMemcacheService()
but returns a handle to an
asynchronous version of the cache service.
public static AsyncMemcacheService getAsyncMemcacheService(java.lang.String namespace)
getMemcacheService(String)
but returns a handle to an
asynchronous version of the cache service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |