Package | Description |
---|---|
org.voovan.network | |
org.voovan.tools.event |
Modifier and Type | Field and Description |
---|---|
static EventRunnerGroup |
SocketContext.COMMON_ACCEPT_EVENT_RUNNER_GROUP |
static EventRunnerGroup |
SocketContext.COMMON_IO_EVENT_RUNNER_GROUP |
Modifier and Type | Method and Description |
---|---|
static EventRunnerGroup |
SocketContext.createEventRunnerGroup(String name,
int size,
boolean isAccept)
构造事件管理器
|
EventRunnerGroup |
SocketContext.getAcceptEventRunnerGroup() |
static EventRunnerGroup |
SocketContext.getCommonAcceptEventRunnerGroup()
获取公共的 Accept 事件执行器
|
static EventRunnerGroup |
SocketContext.getCommonIoEventRunnerGroup()
获取公共的 IO 事件执行器
|
EventRunnerGroup |
SocketContext.getIoEventRunnerGroup() |
Modifier and Type | Method and Description |
---|---|
void |
SocketContext.setAcceptEventRunnerGroup(EventRunnerGroup acceptEventRunnerGroup) |
void |
SocketContext.setIoEventRunnerGroup(EventRunnerGroup ioEventRunnerGroup) |
Modifier and Type | Method and Description |
---|---|
static EventRunnerGroup |
EventRunnerGroup.newInstance(String groupName,
int size,
boolean isSteal,
int threadPriority,
Function<EventRunner,Object> attachmentSupplier)
静态构造方法
|
Constructor and Description |
---|
EventRunner(EventRunnerGroup eventRunnerGroup)
事件处理 Thread
|
Copyright © 2020 Voovan. All rights reserved.