public class XmemcachedClientFactory extends Object implements com.googlecode.hibernate.memcached.MemcacheClientFactory
MemcachedCacheProvider for
property details. SPI for xmemcached.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PROP_COMMAND_FACTORY |
static String |
PROP_CONNECT_TIMEOUT |
static String |
PROP_CONNECTION_POOL_SIZE |
static String |
PROP_HASH_ALGORITHM |
static String |
PROP_OPERATION_TIMEOUT |
static String |
PROP_READ_BUFFER_SIZE |
static String |
PROP_SERVERS |
static String |
PROP_SESSION_LOCATOR |
| 构造器和说明 |
|---|
XmemcachedClientFactory(com.googlecode.hibernate.memcached.PropertiesHelper properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.googlecode.hibernate.memcached.Memcache |
createMemcacheClient() |
protected CommandFactory |
getCommandFactory() |
String |
getCommandFactoryName() |
int |
getConnectionPoolSize() |
long |
getConnectTimeoutMillis() |
HashAlgorithm |
getHashAlgorithm() |
long |
getOperationTimeoutMillis() |
protected com.googlecode.hibernate.memcached.PropertiesHelper |
getProperties() |
int |
getReadBufferSize() |
String |
getServerList() |
protected MemcachedSessionLocator |
getSessionLocator() |
String |
getSessionLocatorName() |
public XmemcachedClientFactory(com.googlecode.hibernate.memcached.PropertiesHelper properties)
public com.googlecode.hibernate.memcached.Memcache createMemcacheClient()
throws Exception
createMemcacheClient 在接口中 com.googlecode.hibernate.memcached.MemcacheClientFactoryExceptionprotected MemcachedSessionLocator getSessionLocator()
protected CommandFactory getCommandFactory()
public String getServerList()
public int getReadBufferSize()
public int getConnectionPoolSize()
public long getOperationTimeoutMillis()
public long getConnectTimeoutMillis()
public HashAlgorithm getHashAlgorithm()
public String getCommandFactoryName()
public String getSessionLocatorName()
protected com.googlecode.hibernate.memcached.PropertiesHelper getProperties()
Copyright © 2013. All Rights Reserved.