|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.atom.memcached.MemcachedClientPool
public class MemcachedClientPool
A simple pool of connections to a memcached server.
| Constructor Summary | |
|---|---|
MemcachedClientPool(java.lang.String host,
int port,
int maxclients)
|
|
| Method Summary | |
|---|---|
MemcachedClient |
acquireClient()
The caller must close the client when it is through |
void |
closeAll()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemcachedClientPool(java.lang.String host,
int port,
int maxclients)
throws MemcachedException
MemcachedException| Method Detail |
|---|
public MemcachedClient acquireClient()
throws MemcachedException
MemcachedExceptionpublic void closeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||