com.m3.memcached.facade
Class MemcachedClientPool
java.lang.Object
com.m3.memcached.facade.MemcachedClientPool
public final class MemcachedClientPool
- extends java.lang.Object
Memcached Client Pool
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemcachedClientPool
public MemcachedClientPool()
throws java.lang.Exception
- Throws:
java.lang.Exception
MemcachedClientPool
public MemcachedClientPool(Configuration config)
throws java.lang.Exception
- Throws:
java.lang.Exception
getConfig
public Configuration getConfig()
getClient
public MemcachedClient getClient()
shutdown
public void shutdown()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object
- Throws:
java.lang.Throwable
getMemcachedClient
@Deprecated
public static MemcachedClient getMemcachedClient(Configuration config)
throws java.lang.Exception
- Deprecated.
- Returns a cached
MemcachedClient instance
- Parameters:
config -
- Returns:
-
- Throws:
java.lang.Exception
Copyright © 2013. All Rights Reserved.