com.googlecode.hibernate.memcached.dangamemcached
Class DangaMemcacheClientFactory
java.lang.Object
com.googlecode.hibernate.memcached.dangamemcached.DangaMemcacheClientFactory
- All Implemented Interfaces:
- MemcacheClientFactory
public class DangaMemcacheClientFactory
- extends Object
- implements MemcacheClientFactory
DOCUMENT ME!
- Author:
- George Wei
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_PREFIX
public static final String PROP_PREFIX
- See Also:
- Constant Field Values
PROP_COMPRESS_ENABLE
public static final String PROP_COMPRESS_ENABLE
- See Also:
- Constant Field Values
PROP_DEFAULT_ENCODING
public static final String PROP_DEFAULT_ENCODING
- See Also:
- Constant Field Values
PROP_POOL_NAME
public static final String PROP_POOL_NAME
- See Also:
- Constant Field Values
PROP_ERROR_HANDLER
public static final String PROP_ERROR_HANDLER
- See Also:
- Constant Field Values
PROP_SERVERS
public static final String PROP_SERVERS
- See Also:
- Constant Field Values
PROP_WEIGHTS
public static final String PROP_WEIGHTS
- See Also:
- Constant Field Values
PROP_INIT_CONN
public static final String PROP_INIT_CONN
- See Also:
- Constant Field Values
PROP_MIN_CONN
public static final String PROP_MIN_CONN
- See Also:
- Constant Field Values
PROP_MAX_CONN
public static final String PROP_MAX_CONN
- See Also:
- Constant Field Values
PROP_MAX_IDLE
public static final String PROP_MAX_IDLE
- See Also:
- Constant Field Values
PROP_MAINT_SLEEP
public static final String PROP_MAINT_SLEEP
- See Also:
- Constant Field Values
PROP_SOCKET_TIMEOUT
public static final String PROP_SOCKET_TIMEOUT
- See Also:
- Constant Field Values
PROP_SOCKET_CONNECT_TIMEOUT
public static final String PROP_SOCKET_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
DEFAULT_COMPRESS_ENABLE
public static final boolean DEFAULT_COMPRESS_ENABLE
- See Also:
- Constant Field Values
DEFAULT_DEFAULT_ENCODING
public static final String DEFAULT_DEFAULT_ENCODING
- See Also:
- Constant Field Values
DEFAULT_POOL_NAME
public static final String DEFAULT_POOL_NAME
- See Also:
- Constant Field Values
DEFAULT_ERROR_HANDLER
public static final String DEFAULT_ERROR_HANDLER
- See Also:
- Constant Field Values
DEFAULT_SERVERS
public static final String DEFAULT_SERVERS
- See Also:
- Constant Field Values
DEFAULT_INIT_CONN
public static final int DEFAULT_INIT_CONN
- See Also:
- Constant Field Values
DEFAULT_MIN_CONN
public static final int DEFAULT_MIN_CONN
- See Also:
- Constant Field Values
DEFAULT_MAX_CONN
public static final int DEFAULT_MAX_CONN
- See Also:
- Constant Field Values
DEFAULT_MAX_IDLE
public static final int DEFAULT_MAX_IDLE
- See Also:
- Constant Field Values
DEFAULT_MAINT_SLEEP
public static final int DEFAULT_MAINT_SLEEP
- See Also:
- Constant Field Values
DEFAULT_SOCKET_TIMEOUT
public static final int DEFAULT_SOCKET_TIMEOUT
- See Also:
- Constant Field Values
DEFAULT_SOCKET_CONNECT_TIMEOUT
public static final int DEFAULT_SOCKET_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
DangaMemcacheClientFactory
public DangaMemcacheClientFactory(PropertiesHelper properties)
createMemcacheClient
public Memcache createMemcacheClient()
throws Exception
- Specified by:
createMemcacheClient in interface MemcacheClientFactory
- Throws:
Exception
getClassLoader
public ClassLoader getClassLoader()
isCompressEnable
public boolean isCompressEnable()
getDefaultEncoding
public String getDefaultEncoding()
getPoolName
public String getPoolName()
getErrorHandler
public com.danga.MemCached.ErrorHandler getErrorHandler()
getServers
public String[] getServers()
getWeights
public Integer[] getWeights()
getInitConn
public int getInitConn()
getMinConn
public int getMinConn()
getMaxConn
public int getMaxConn()
getMaxIdle
public int getMaxIdle()
getMaintSleep
public int getMaintSleep()
getSocketTimeout
public int getSocketTimeout()
getSocketConnectTimeout
public int getSocketConnectTimeout()
Copyright © 2015. All rights reserved.