public final class SocketConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private Boolean |
keepAlive |
private Boolean |
oobInline |
private Integer |
receiveBufferSize |
private Boolean |
reuseAddress |
private Integer |
sendBufferSize |
private Integer |
socketTimeout |
private SSLContextFactory |
sslContextFactory |
private Boolean |
tcpNoDelay |
private Integer |
trafficClass |
| Constructor and Description |
|---|
SocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SSLContext |
createSSLContext() |
Boolean |
getKeepAlive() |
Boolean |
getOobInline() |
Integer |
getReceiveBufferSize() |
Boolean |
getReuseAddress() |
Integer |
getSendBufferSize() |
Integer |
getSocketTimeout() |
Boolean |
getTcpNoDelay() |
Integer |
getTrafficClass() |
void |
setKeepAlive(Boolean keepAlive) |
void |
setOobInline(Boolean oobInline) |
void |
setReceiveBufferSize(Integer receiveBufferSize) |
void |
setReuseAddress(Boolean reuseAddress) |
void |
setSendBufferSize(Integer sendBufferSize) |
void |
setSocketTimeout(Integer socketTimeout) |
void |
setSSLContextFactory(SSLContextFactory sslContextFactory) |
void |
setTcpNoDelay(Boolean tcpNoDelay) |
void |
setTrafficClass(Integer trafficClass) |
private Integer socketTimeout
private Integer receiveBufferSize
private Integer sendBufferSize
private Boolean reuseAddress
private Boolean keepAlive
private Boolean oobInline
private Boolean tcpNoDelay
private Integer trafficClass
private SSLContextFactory sslContextFactory
public SSLContext createSSLContext() throws KeyManagementException, NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, FileNotFoundException, IOException
public void setSSLContextFactory(SSLContextFactory sslContextFactory)
public Integer getSocketTimeout()
public void setSocketTimeout(Integer socketTimeout)
public Boolean getReuseAddress()
public void setReuseAddress(Boolean reuseAddress)
public Boolean getKeepAlive()
public void setKeepAlive(Boolean keepAlive)
public Boolean getOobInline()
public void setOobInline(Boolean oobInline)
public Integer getReceiveBufferSize()
public void setReceiveBufferSize(Integer receiveBufferSize)
public Integer getSendBufferSize()
public void setSendBufferSize(Integer sendBufferSize)
public Boolean getTcpNoDelay()
public void setTcpNoDelay(Boolean tcpNoDelay)
public Integer getTrafficClass()
public void setTrafficClass(Integer trafficClass)
Copyright © 2016 Apache NiFi Project. All rights reserved.