public class SocketOptionsFactoryBean extends Object implements FactoryBean<com.datastax.driver.core.SocketOptions>, 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSingleton
public com.datastax.driver.core.SocketOptions getObject() throws Exception
getObject
in interface FactoryBean<com.datastax.driver.core.SocketOptions>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.datastax.driver.core.SocketOptions>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
@Nullable public Integer getConnectTimeoutMillis()
public void setConnectTimeoutMillis(@Nullable Integer connectTimeoutMillis)
connectTimeoutMillis
- The connectTimeoutMillis to set.@Nullable public Integer getReadTimeoutMillis()
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.