org.glassfish.grizzly.nio
Class Selectors
java.lang.Object
org.glassfish.grizzly.nio.Selectors
public final class Selectors
- extends Object
Utility class for Selector
related operations.
- Author:
- Alexey Stashok
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Selectors
public Selectors()
newSelector
public static Selector newSelector(SelectorProvider provider)
throws IOException
- Creates new
Selector
using passed SelectorProvider
.
- Parameters:
provider
- SelectorProvider
- Returns:
Selector
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.