public class XMemcachedClientFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
Constructor and Description |
---|
XMemcachedClientFactoryBean() |
public int getTimeoutExceptionThreshold()
public void setTimeoutExceptionThreshold(int timeoutExceptionThreshold)
public long getHealSessionInterval()
public void setHealSessionInterval(long healSessionInterval)
public boolean isEnableHealSession()
public void setEnableHealSession(boolean enableHealSession)
public long getOpTimeout()
public KeyProvider getKeyProvider()
public void setKeyProvider(KeyProvider keyProvider)
public void setOpTimeout(long opTimeout)
public final CommandFactory getCommandFactory()
public final void setCommandFactory(CommandFactory commandFactory)
public Map<InetSocketAddress,AuthInfo> getAuthInfoMap()
public void setAuthInfoMap(Map<InetSocketAddress,AuthInfo> authInfoMap)
public boolean isFailureMode()
public void setFailureMode(boolean failureMode)
public String getName()
public void setName(String name)
public int getConnectionPoolSize()
public final void setConnectionPoolSize(int poolSize)
public void setSessionLocator(MemcachedSessionLocator sessionLocator)
public void setSessionComparator(MemcachedSessionComparator sessionComparator)
public void setBufferAllocator(BufferAllocator bufferAllocator)
public void setTranscoder(Transcoder transcoder)
public void setConfiguration(Configuration configuration)
public String getServers()
public void setServers(String servers)
public MemcachedSessionLocator getSessionLocator()
public MemcachedSessionComparator getSessionComparator()
public BufferAllocator getBufferAllocator()
public Transcoder getTranscoder()
public void setMaxQueuedNoReplyOperations(int maxQueuedNoReplyOperations)
maxQueuedNoReplyOperations
- MemcachedClient.DEFAULT_MAX_QUEUED_NOPS
public Configuration getConfiguration()
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public void shutdown() throws IOException
IOException
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public long getConnectTimeout()
public void setConnectTimeout(long connectTimeout)
Copyright © 2021. All rights reserved.