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