org.glassfish.grizzly.nio.tmpselectors
Class TemporarySelectorPool
java.lang.Object
org.glassfish.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
TemporarySelectorPool
public TemporarySelectorPool(SelectorProvider selectorProvider)
TemporarySelectorPool
public TemporarySelectorPool(SelectorProvider selectorProvider,
int selectorsCount)
size
public int size()
setSize
public void setSize(int size)
throws IOException
- Throws:
IOException
getSelectorProvider
public SelectorProvider getSelectorProvider()
poll
public Selector poll()
throws IOException
- Throws:
IOException
offer
public void offer(Selector selector)
close
public void close()
Copyright © 2012 Oracle Corporation. All Rights Reserved.