|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.ssm.providers.CacheConfiguration
com.google.code.ssm.providers.spymemcached.SpymemcachedConfiguration
public class SpymemcachedConfiguration

Allows to set provider specific settings. If property is not set (null) default value defined by provider will be
used. Description of each property can be found in ConnectionFactoryBuilder class.
| Constructor Summary | |
|---|---|
SpymemcachedConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
canEqual(Object other)
|
boolean |
equals(Object o)
|
net.spy.memcached.auth.AuthDescriptor |
getAuthDescriptor()
since 3.2.0 |
Boolean |
getDaemon()
|
net.spy.memcached.transcoders.Transcoder<Object> |
getDefaultTranscoder()
default transcoder or null if not set |
net.spy.memcached.FailureMode |
getFailureMode()
|
net.spy.memcached.HashAlgorithm |
getHashAlg()
|
Collection<net.spy.memcached.ConnectionObserver> |
getInitialObservers()
since 3.2.0 |
net.spy.memcached.ConnectionFactoryBuilder.Locator |
getLocatorType()
|
Long |
getMaxReconnectDelay()
|
Long |
getOpQueueMaxBlockTime()
|
Integer |
getReadBufferSize()
|
Boolean |
getShouldOptimize()
|
Integer |
getTimeoutExceptionThreshold()
|
Boolean |
getUseNagleAlgorithm()
|
int |
hashCode()
|
void |
setAuthDescriptor(net.spy.memcached.auth.AuthDescriptor authDescriptor)
since 3.2.0 |
void |
setDaemon(Boolean daemon)
|
void |
setDefaultTranscoder(net.spy.memcached.transcoders.Transcoder<Object> defaultTranscoder)
default transcoder or null if not set |
void |
setFailureMode(net.spy.memcached.FailureMode failureMode)
|
void |
setHashAlg(net.spy.memcached.HashAlgorithm hashAlg)
|
void |
setInitialObservers(Collection<net.spy.memcached.ConnectionObserver> initialObservers)
since 3.2.0 |
void |
setLocatorType(net.spy.memcached.ConnectionFactoryBuilder.Locator locatorType)
|
void |
setMaxReconnectDelay(Long maxReconnectDelay)
|
void |
setOpQueueMaxBlockTime(Long opQueueMaxBlockTime)
|
void |
setReadBufferSize(Integer readBufferSize)
|
void |
setShouldOptimize(Boolean shouldOptimize)
|
void |
setTimeoutExceptionThreshold(Integer timeoutExceptionThreshold)
|
void |
setUseNagleAlgorithm(Boolean useNagleAlgorithm)
|
String |
toString()
|
| Methods inherited from class com.google.code.ssm.providers.CacheConfiguration |
|---|
getKeyPrefixSeparator, getOperationTimeout, isConsistentHashing, isUseBinaryProtocol, isUseNameAsKeyPrefix, setConsistentHashing, setKeyPrefixSeparator, setOperationTimeout, setUseBinaryProtocol, setUseNameAsKeyPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpymemcachedConfiguration()
| Method Detail |
|---|
public Boolean getDaemon()
public net.spy.memcached.FailureMode getFailureMode()
public net.spy.memcached.HashAlgorithm getHashAlg()
public net.spy.memcached.ConnectionFactoryBuilder.Locator getLocatorType()
public Long getMaxReconnectDelay()
public Long getOpQueueMaxBlockTime()
public Integer getReadBufferSize()
public Boolean getShouldOptimize()
public Integer getTimeoutExceptionThreshold()
public Boolean getUseNagleAlgorithm()
public net.spy.memcached.transcoders.Transcoder<Object> getDefaultTranscoder()
public net.spy.memcached.auth.AuthDescriptor getAuthDescriptor()
public Collection<net.spy.memcached.ConnectionObserver> getInitialObservers()
public void setDaemon(Boolean daemon)
public void setFailureMode(net.spy.memcached.FailureMode failureMode)
public void setHashAlg(net.spy.memcached.HashAlgorithm hashAlg)
public void setLocatorType(net.spy.memcached.ConnectionFactoryBuilder.Locator locatorType)
public void setMaxReconnectDelay(Long maxReconnectDelay)
public void setOpQueueMaxBlockTime(Long opQueueMaxBlockTime)
public void setReadBufferSize(Integer readBufferSize)
public void setShouldOptimize(Boolean shouldOptimize)
public void setTimeoutExceptionThreshold(Integer timeoutExceptionThreshold)
public void setUseNagleAlgorithm(Boolean useNagleAlgorithm)
public void setDefaultTranscoder(net.spy.memcached.transcoders.Transcoder<Object> defaultTranscoder)
public void setAuthDescriptor(net.spy.memcached.auth.AuthDescriptor authDescriptor)
public void setInitialObservers(Collection<net.spy.memcached.ConnectionObserver> initialObservers)
public String toString()
toString in class CacheConfigurationpublic boolean equals(Object o)
equals in class CacheConfigurationpublic boolean canEqual(Object other)
canEqual in class CacheConfigurationpublic int hashCode()
hashCode in class CacheConfiguration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||