public class SpyMemcacheClientFactory extends Object implements MemcacheClientFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_CONNECTION_FACTORY |
static String |
PROP_DAEMON_MODE |
static String |
PROP_HASH_ALGORITHM |
static String |
PROP_OPERATION_QUEUE_LENGTH |
static String |
PROP_OPERATION_TIMEOUT |
static String |
PROP_PASSWORD |
static String |
PROP_READ_BUFFER_SIZE |
static String |
PROP_SERVERS |
static String |
PROP_USERNAME |
| Constructor and Description |
|---|
SpyMemcacheClientFactory(PropertiesHelper properties) |
| Modifier and Type | Method and Description |
|---|---|
protected net.spy.memcached.auth.AuthDescriptor |
createAuthDescriptor() |
Memcache |
createMemcacheClient() |
protected net.spy.memcached.ConnectionFactory |
getConnectionFactory() |
String |
getConnectionFactoryName() |
net.spy.memcached.HashAlgorithm |
getHashAlgorithm() |
int |
getOperationQueueLength() |
long |
getOperationTimeoutMillis() |
protected PropertiesHelper |
getProperties() |
int |
getReadBufferSize() |
String |
getServerList() |
boolean |
isDaemonMode() |
public static final String PROP_SERVERS
public static final String PROP_OPERATION_QUEUE_LENGTH
public static final String PROP_READ_BUFFER_SIZE
public static final String PROP_OPERATION_TIMEOUT
public static final String PROP_HASH_ALGORITHM
public static final String PROP_CONNECTION_FACTORY
public static final String PROP_DAEMON_MODE
public static final String PROP_USERNAME
public static final String PROP_PASSWORD
public SpyMemcacheClientFactory(PropertiesHelper properties)
public Memcache createMemcacheClient() throws Exception
createMemcacheClient in interface MemcacheClientFactoryExceptionprotected net.spy.memcached.ConnectionFactory getConnectionFactory()
protected net.spy.memcached.auth.AuthDescriptor createAuthDescriptor()
public String getServerList()
public int getOperationQueueLength()
public int getReadBufferSize()
public long getOperationTimeoutMillis()
public boolean isDaemonMode()
public net.spy.memcached.HashAlgorithm getHashAlgorithm()
public String getConnectionFactoryName()
protected PropertiesHelper getProperties()
Copyright © 2017. All rights reserved.