Package org.elasticsearch.nio
Class Config.Socket
java.lang.Object
org.elasticsearch.nio.Config
org.elasticsearch.nio.Config.Socket
- Enclosing class:
- Config
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.nio.Config
Config.ServerSocket, Config.Socket -
Constructor Summary
ConstructorsConstructorDescriptionSocket(boolean tcpNoDelay, boolean tcpKeepAlive, int tcpKeepIdle, int tcpKeepInterval, int tcpKeepCount, boolean tcpReuseAddress, int tcpSendBufferSize, int tcpReceiveBufferSize, InetSocketAddress remoteAddress, boolean isAccepted) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintintintbooleanintintMethods inherited from class org.elasticsearch.nio.Config
tcpReuseAddress
-
Constructor Details
-
Socket
public Socket(boolean tcpNoDelay, boolean tcpKeepAlive, int tcpKeepIdle, int tcpKeepInterval, int tcpKeepCount, boolean tcpReuseAddress, int tcpSendBufferSize, int tcpReceiveBufferSize, InetSocketAddress remoteAddress, boolean isAccepted)
-
-
Method Details
-
tcpNoDelay
public boolean tcpNoDelay() -
tcpKeepAlive
public boolean tcpKeepAlive() -
tcpKeepIdle
public int tcpKeepIdle() -
tcpKeepInterval
public int tcpKeepInterval() -
tcpKeepCount
public int tcpKeepCount() -
tcpSendBufferSize
public int tcpSendBufferSize() -
tcpReceiveBufferSize
public int tcpReceiveBufferSize() -
isAccepted
public boolean isAccepted() -
getRemoteAddress
-