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