Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tomcat.util.net.PoolTcpEndpoint
public class PoolTcpEndpoint
extends java.lang.Object
Field Summary | |
protected int | |
protected int | |
protected boolean |
Constructor Summary | |
Method Summary | |
protected void | |
InetAddress | |
int | |
TcpConnectionHandler | |
int | |
int | |
int | |
int |
|
int | |
int | |
int | |
boolean | |
int | |
void | |
boolean |
|
boolean |
|
boolean | |
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
protected void |
protected int linger
protected int socketTimeout
protected boolean tcpNoDelay
protected void closeServerSocket()
public InetAddress getAddress()
public int getBacklog()
public int getMaxSpareThreads()
public int getMaxThreads()
public int getMinSpareThreads()
public int getPort()
public int getServerSoTimeout()
public int getSoLinger()
public int getSoTimeout()
public boolean getTcpNoDelay()
public int getThreadPriority()
public void initEndpoint() throws IOException, InstantiationException
public boolean isPaused()
public boolean isPoolOn()
public boolean isRunning()
public void log(String msg)
Deprecated.
public void log(String msg, Throwable t)
Deprecated.
public void log(String msg, Throwable t, int level)
Deprecated.
public void log(String msg, int level)
Deprecated.
public void pauseEndpoint()
public void resumeEndpoint()
public void setAddress(InetAddress inet)
public void setBacklog(int backlog)
Allows the server developer to specify the backlog that should be used for server sockets. By default, this value is 100.
public void setMaxSpareThreads(int maxThreads)
public void setMaxThreads(int maxThreads)
public void setMinSpareThreads(int minThreads)
public void setPoolOn(boolean isPool)
public void setPort(int port)
public void setServerSoTimeout(int i)
public void setServerSocket(ServerSocket ss)
public void setServerTimeout(int timeout)
Sets the timeout in ms of the server sockets created by this server. This method allows the developer to make servers more or less responsive to having their server sockets shut down. By default this value is 1000ms.
public void setSoLinger(int i)
public void setSoTimeout(int i)
public void setTcpNoDelay(boolean b)
public void setThreadPriority(int threadPriority)
public void startEndpoint() throws IOException, InstantiationException
public void stopEndpoint()
protected void unlockAccept()