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 Boolean |
tcpNoDelay |
private TlsConfiguration |
tlsConfiguration |
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 |
setTcpNoDelay(Boolean tcpNoDelay) |
void |
setTlsConfiguration(TlsConfiguration tlsConfiguration) |
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 TlsConfiguration tlsConfiguration
public SSLContext createSSLContext() throws TlsException
TlsExceptionpublic void setTlsConfiguration(TlsConfiguration tlsConfiguration)
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 © 2023 Apache NiFi Project. All rights reserved.