public static class AprEndpoint.SocketTimeouts extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
pos |
protected int |
size |
protected long[] |
sockets |
protected long[] |
timeouts |
Constructor and Description |
---|
SocketTimeouts(int size) |
Modifier and Type | Method and Description |
---|---|
void |
add(long socket,
long timeout) |
long |
check(long date) |
long |
remove(long socket)
Removes the specified socket from the poller.
|
protected int size
protected long[] sockets
protected long[] timeouts
protected int pos
public void add(long socket, long timeout)
public long remove(long socket)
socket
- The socket to removepublic long check(long date)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.