com.hazelcast.nio.tcp
public interface IOSelector extends OperationHostileThread
Modifier and Type | Method and Description |
---|---|
void |
addTask(Runnable runnable) |
void |
addTaskAndWakeup(Runnable runnable)
Adds a task to be executed by the IOSelector and wakes up the IOSelector so that it will
eventually pick up the task.
|
Selector |
getSelector() |
void |
handleSelectionKeyFailure(Throwable e) |
void |
shutdown() |
void |
start() |
Selector getSelector()
void addTask(Runnable runnable)
void addTaskAndWakeup(Runnable runnable)
runnable
- the task to add.void start()
void shutdown()
void handleSelectionKeyFailure(Throwable e)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.