org.openanzo.atom.memcached
Class MemcachedClient
java.lang.Object
org.openanzo.atom.memcached.MemcachedClient
public class MemcachedClient
- extends java.lang.Object
A limited implementation of a memcached client. Only one thread can access the public methods
at a time. Thus, instances of the client are meant to be pooled.
- Author:
- Ben Szekely (bhszekel@us.ibm.com)
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
close
public void close()
throws MemcachedException
- Throws:
MemcachedException
setValue
public void setValue(java.lang.String key,
java.lang.Object value)
throws MemcachedException
- Throws:
MemcachedException
getValue
public java.lang.Object getValue(java.lang.String key)
throws MemcachedException
- Throws:
MemcachedException
deleteValue
public boolean deleteValue(java.lang.String key)
throws MemcachedException
- Throws:
MemcachedException
flushAll
public void flushAll()
throws MemcachedException
- Throws:
MemcachedException
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.