|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.transport.tcp.util.SelectorFactory
public final class SelectorFactory
Class was copied from GlassFish Grizzly sources to be available
also for client side and don't require GlassFish to be installed
Factory used to dispatch/share Selector
.
Constructor Summary | |
---|---|
SelectorFactory()
|
Method Summary | |
---|---|
static java.nio.channels.Selector |
getSelector()
Get a exclusive Selector |
static void |
returnSelector(java.nio.channels.Selector s)
Return the Selector to the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectorFactory()
Method Detail |
---|
public static java.nio.channels.Selector getSelector()
Selector
public static void returnSelector(java.nio.channels.Selector s)
Selector
to the cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |