org.eclipse.jetty.io.nio
类 SelectorManager.SelectSet
java.lang.Object
org.eclipse.jetty.io.nio.SelectorManager.SelectSet
- 所有已实现的接口:
- Dumpable
- 包容类:
- SelectorManager
public class SelectorManager.SelectSet
- extends Object
- implements Dumpable
addChange
public void addChange(Object change)
addChange
public void addChange(SelectableChannel channel,
Object att)
doSelect
public void doSelect()
throws IOException
- Select and dispatch tasks found from changes and the selector.
- 抛出:
IOException
getManager
public SelectorManager getManager()
getNow
public long getNow()
scheduleTimeout
public void scheduleTimeout(Timeout.Task task,
long timeoutMs)
- 参数:
task - The task to timeout. If it implements Runnable, then
expired will be called from a dispatched thread.timeoutMs -
cancelTimeout
public void cancelTimeout(Timeout.Task task)
wakeup
public void wakeup()
destroyEndPoint
public void destroyEndPoint(SelectChannelEndPoint endp)
dump
public String dump()
- 指定者:
- 接口
Dumpable 中的 dump
dump
public void dump(Appendable out,
String indent)
throws IOException
- 指定者:
- 接口
Dumpable 中的 dump
- 抛出:
IOException
dumpKeyState
public void dumpKeyState(List<Object> dumpto)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2013. All Rights Reserved.