com.google.code.ssm.providers.spymemcached
Class SpymemcachedConfiguration

java.lang.Object
  extended by com.google.code.ssm.providers.CacheConfiguration
      extended by 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

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

SpymemcachedConfiguration

public SpymemcachedConfiguration()
Method Detail

getDaemon

public Boolean getDaemon()

getFailureMode

public net.spy.memcached.FailureMode getFailureMode()

getHashAlg

public net.spy.memcached.HashAlgorithm getHashAlg()

getLocatorType

public net.spy.memcached.ConnectionFactoryBuilder.Locator getLocatorType()

getMaxReconnectDelay

public Long getMaxReconnectDelay()

getOpQueueMaxBlockTime

public Long getOpQueueMaxBlockTime()

getReadBufferSize

public Integer getReadBufferSize()

getShouldOptimize

public Boolean getShouldOptimize()

getTimeoutExceptionThreshold

public Integer getTimeoutExceptionThreshold()

getUseNagleAlgorithm

public Boolean getUseNagleAlgorithm()

getDefaultTranscoder

public net.spy.memcached.transcoders.Transcoder<Object> getDefaultTranscoder()
default transcoder or null if not set

Since:
3.0.0

getAuthDescriptor

public net.spy.memcached.auth.AuthDescriptor getAuthDescriptor()
since 3.2.0


getInitialObservers

public Collection<net.spy.memcached.ConnectionObserver> getInitialObservers()
since 3.2.0


setDaemon

public void setDaemon(Boolean daemon)

setFailureMode

public void setFailureMode(net.spy.memcached.FailureMode failureMode)

setHashAlg

public void setHashAlg(net.spy.memcached.HashAlgorithm hashAlg)

setLocatorType

public void setLocatorType(net.spy.memcached.ConnectionFactoryBuilder.Locator locatorType)

setMaxReconnectDelay

public void setMaxReconnectDelay(Long maxReconnectDelay)

setOpQueueMaxBlockTime

public void setOpQueueMaxBlockTime(Long opQueueMaxBlockTime)

setReadBufferSize

public void setReadBufferSize(Integer readBufferSize)

setShouldOptimize

public void setShouldOptimize(Boolean shouldOptimize)

setTimeoutExceptionThreshold

public void setTimeoutExceptionThreshold(Integer timeoutExceptionThreshold)

setUseNagleAlgorithm

public void setUseNagleAlgorithm(Boolean useNagleAlgorithm)

setDefaultTranscoder

public void setDefaultTranscoder(net.spy.memcached.transcoders.Transcoder<Object> defaultTranscoder)
default transcoder or null if not set

Since:
3.0.0

setAuthDescriptor

public void setAuthDescriptor(net.spy.memcached.auth.AuthDescriptor authDescriptor)
since 3.2.0


setInitialObservers

public void setInitialObservers(Collection<net.spy.memcached.ConnectionObserver> initialObservers)
since 3.2.0


toString

public String toString()
Overrides:
toString in class CacheConfiguration

equals

public boolean equals(Object o)
Overrides:
equals in class CacheConfiguration

canEqual

public boolean canEqual(Object other)
Overrides:
canEqual in class CacheConfiguration

hashCode

public int hashCode()
Overrides:
hashCode in class CacheConfiguration


Copyright © 2014. All rights reserved.