org.apache.tomcat.util.net
Class AprEndpoint.SocketTimeouts
java.lang.Object
org.apache.tomcat.util.net.AprEndpoint.SocketTimeouts
- Enclosing class:
- AprEndpoint
public class AprEndpoint.SocketTimeouts
- extends java.lang.Object
Socket list class, used to avoid using a possibly large amount of objects
with very little actual use.
Method Summary |
void |
add(long socket,
long timeout)
|
long |
check(long date)
|
boolean |
remove(long socket)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
protected int size
sockets
protected long[] sockets
timeouts
protected long[] timeouts
pos
protected int pos
AprEndpoint.SocketTimeouts
public AprEndpoint.SocketTimeouts(int size)
add
public void add(long socket,
long timeout)
remove
public boolean remove(long socket)
check
public long check(long date)
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.