public static class AprEndpoint.SocketTimeouts
extends java.lang.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-2019 Apache Software Foundation. All Rights Reserved.