com.m3.memcached.facade
Class MemcachedClientPool

java.lang.Object
  extended by com.m3.memcached.facade.MemcachedClientPool

public final class MemcachedClientPool
extends java.lang.Object

Memcached Client Pool


Constructor Summary
MemcachedClientPool()
           
MemcachedClientPool(Configuration config)
           
 
Method Summary
protected  void finalize()
           
 MemcachedClient getClient()
           
 Configuration getConfig()
           
static MemcachedClient getMemcachedClient(Configuration config)
          Deprecated. 
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemcachedClientPool

public MemcachedClientPool()
                    throws java.lang.Exception
Throws:
java.lang.Exception

MemcachedClientPool

public MemcachedClientPool(Configuration config)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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.