public class SelectorPool
extends java.lang.Object
cleanup()
for releasing selectors.| Constructor and Description |
|---|
SelectorPool() |
public java.nio.channels.Selector get()
throws java.io.IOException
java.io.IOException - if there's a problem opening a new selectorpublic void put(java.nio.channels.Selector selector)
selector - the selector to put backpublic void cleanup()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.