com.google.code.ssm.providers.spymemcached
Class SpymemcachedConfiguration
java.lang.Object
com.google.code.ssm.providers.CacheConfiguration
com.google.code.ssm.providers.spymemcached.SpymemcachedConfiguration
public class SpymemcachedConfiguration
- extends CacheConfiguration
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.
- Since:
- 2.0.0
- Author:
- Jakub BiaĆek
SpymemcachedConfiguration
public SpymemcachedConfiguration()
getDaemon
public Boolean getDaemon()
setDaemon
public void setDaemon(Boolean daemon)
getFailureMode
public net.spy.memcached.FailureMode getFailureMode()
setFailureMode
public void setFailureMode(net.spy.memcached.FailureMode failureMode)
getHashAlg
public net.spy.memcached.HashAlgorithm getHashAlg()
setHashAlg
public void setHashAlg(net.spy.memcached.HashAlgorithm hashAlg)
getLocatorType
public net.spy.memcached.ConnectionFactoryBuilder.Locator getLocatorType()
setLocatorType
public void setLocatorType(net.spy.memcached.ConnectionFactoryBuilder.Locator locatorType)
getMaxReconnectDelay
public Long getMaxReconnectDelay()
setMaxReconnectDelay
public void setMaxReconnectDelay(Long maxReconnectDelay)
getOpQueueMaxBlockTime
public Long getOpQueueMaxBlockTime()
setOpQueueMaxBlockTime
public void setOpQueueMaxBlockTime(Long opQueueMaxBlockTime)
getReadBufferSize
public Integer getReadBufferSize()
setReadBufferSize
public void setReadBufferSize(Integer readBufferSize)
getShouldOptimize
public Boolean getShouldOptimize()
setShouldOptimize
public void setShouldOptimize(Boolean shouldOptimize)
getTimeoutExceptionThreshold
public Integer getTimeoutExceptionThreshold()
setTimeoutExceptionThreshold
public void setTimeoutExceptionThreshold(Integer timeoutExceptionThreshold)
getUseNagleAlgorithm
public Boolean getUseNagleAlgorithm()
setUseNagleAlgorithm
public void setUseNagleAlgorithm(Boolean useNagleAlgorithm)
getDefaultTranscoder
public net.spy.memcached.transcoders.Transcoder<Object> getDefaultTranscoder()
- Returns:
- default transcoder or null if not set
- Since:
- 3.0.0
setDefaultTranscoder
public void setDefaultTranscoder(net.spy.memcached.transcoders.Transcoder<Object> defaultTranscoder)
- Parameters:
defaultTranscoder - - Since:
- 3.0.0
Copyright © 2012. All Rights Reserved.