Package org.apache.tomcat.util.net
Class AprEndpoint.SocketTimeouts
java.lang.Object
org.apache.tomcat.util.net.AprEndpoint.SocketTimeouts
- Enclosing class:
- AprEndpoint
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
sizeprotected int size
- 
socketsprotected long[] sockets
- 
timeoutsprotected long[] timeouts
- 
posprotected int pos
 
- 
- 
Constructor Details- 
SocketTimeoutspublic SocketTimeouts(int size) 
 
- 
- 
Method Details- 
addpublic void add(long socket, long timeout) 
- 
removepublic long remove(long socket) Removes the specified socket from the poller.- Parameters:
- socket- The socket to remove
- Returns:
- The configured timeout for the socket or zero if the socket was not in the list of socket timeouts
 
- 
checkpublic long check(long date) 
 
-