Apache Tomcat 7.0.54

org.apache.tomcat.util.net
Class AprEndpoint.SocketTimeouts

java.lang.Object
  extended by org.apache.tomcat.util.net.AprEndpoint.SocketTimeouts
Enclosing class:
AprEndpoint

public class AprEndpoint.SocketTimeouts
extends Object


Field Summary
protected  int pos
           
protected  int size
           
protected  long[] sockets
           
protected  long[] timeouts
           
 
Constructor Summary
AprEndpoint.SocketTimeouts(int size)
           
 
Method Summary
 void add(long socket, long timeout)
           
 long check(long date)
           
 long remove(long socket)
          Removes the specified socket from the poller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

protected int size

sockets

protected long[] sockets

timeouts

protected long[] timeouts

pos

protected int pos
Constructor Detail

AprEndpoint.SocketTimeouts

public AprEndpoint.SocketTimeouts(int size)
Method Detail

add

public void add(long socket,
                long timeout)

remove

public long remove(long socket)
Removes the specified socket from the poller.

Returns:
The configured timeout for the socket or zero if the socket was not in the list of socket timeouts

check

public long check(long date)

Apache Tomcat 7.0.54

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.