public class SocketOptionsFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.datastax.driver.core.SocketOptions>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
SocketOptionsFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Integer |
getConnectTimeoutMillis() |
Boolean |
getKeepAlive() |
com.datastax.driver.core.SocketOptions |
getObject() |
Class<?> |
getObjectType() |
Integer |
getReadTimeoutMillis() |
Integer |
getReceiveBufferSize() |
Boolean |
getReuseAddress() |
Integer |
getSendBufferSize() |
Integer |
getSoLinger() |
Boolean |
getTcpNoDelay() |
boolean |
isSingleton() |
void |
setConnectTimeoutMillis(Integer connectTimeoutMillis) |
void |
setKeepAlive(Boolean keepAlive) |
void |
setReadTimeoutMillis(Integer readTimeoutMillis) |
void |
setReceiveBufferSize(Integer receiveBufferSize) |
void |
setReuseAddress(Boolean reuseAddress) |
void |
setSendBufferSize(Integer sendBufferSize) |
void |
setSoLinger(Integer soLinger) |
void |
setTcpNoDelay(Boolean tcpNoDelay) |
public com.datastax.driver.core.SocketOptions getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<com.datastax.driver.core.SocketOptions>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<com.datastax.driver.core.SocketOptions>public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<com.datastax.driver.core.SocketOptions>public Boolean getKeepAlive()
public void setKeepAlive(Boolean keepAlive)
public Boolean getReuseAddress()
public void setReuseAddress(Boolean reuseAddress)
public Integer getSoLinger()
public void setSoLinger(Integer soLinger)
public Boolean getTcpNoDelay()
public void setTcpNoDelay(Boolean tcpNoDelay)
public Integer getReceiveBufferSize()
public void setReceiveBufferSize(Integer receiveBufferSize)
public Integer getSendBufferSize()
public void setSendBufferSize(Integer sendBufferSize)
public Integer getConnectTimeoutMillis()
public void setConnectTimeoutMillis(Integer connectTimeoutMillis)
connectTimeoutMillis - The connectTimeoutMillis to set.public Integer getReadTimeoutMillis()
public void setReadTimeoutMillis(Integer readTimeoutMillis)
readTimeoutMillis - The readTimeoutMillis to set.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.