com.sun.grizzly.nio.tmpselectors
Class TemporarySelectorPool
java.lang.Object
com.sun.grizzly.nio.tmpselectors.TemporarySelectorPool
public class TemporarySelectorPool
- extends Object
- Author:
- oleksiys
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SELECTORS_COUNT
public static final int DEFAULT_SELECTORS_COUNT
- See Also:
- Constant Field Values
timeout
public long timeout
- The timeout before we exit.
TemporarySelectorPool
public TemporarySelectorPool()
TemporarySelectorPool
public TemporarySelectorPool(int selectorsCount)
size
public int size()
setSize
public void setSize(int size)
throws IOException
- Throws:
IOException
poll
public Selector poll()
throws IOException
- Throws:
IOException
offer
public void offer(Selector selector)
close
public void close()
Copyright © 2009 SUN Microsystems. All Rights Reserved.