public class VanillaSelector extends Object implements Closeable
Constructor and Description |
---|
VanillaSelector() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
VanillaSelector |
deregister(AbstractSelectableChannel channel,
int ops) |
VanillaSelector |
open() |
VanillaSelector |
register(AbstractSelectableChannel channel,
int ops) |
VanillaSelector |
register(AbstractSelectableChannel channel,
int ops,
Object obj) |
int |
select(int spinLoopCount,
long timeout) |
public VanillaSelector open() throws IOException
IOException
public VanillaSelector register(@NotNull AbstractSelectableChannel channel, int ops) throws IOException
IOException
public VanillaSelector register(@NotNull AbstractSelectableChannel channel, int ops, Object obj) throws IOException
IOException
public VanillaSelector deregister(@NotNull AbstractSelectableChannel channel, int ops)
public int select(int spinLoopCount, long timeout) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017. All rights reserved.