mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 18:19:28 +00:00
doc[net]: 更新文档
This commit is contained in:
1 parent
786a0f051e
commit
40f04879cc
5 files changed
+9
-5
No files matched your search
@@ -132,7 +132,7 @@ public class NetContext implements ApplicationListener<ApplicationContextEvent>,
|
||||
AbstractClient.shutdown();
|
||||
AbstractServer.shutdownAllServers();
|
||||
|
||||
// 关闭TaskManager
|
||||
// 关闭TaskBus
|
||||
try {
|
||||
Field field = TaskBus.class.getDeclaredField("executors");
|
||||
ReflectionUtils.makeAccessible(field);
|
||||
|
||||
@@ -43,7 +43,7 @@ public class GatewayPacketAttachment implements IPacketAttachment {
|
||||
*/
|
||||
private boolean useExecutorConsistentHash;
|
||||
/**
|
||||
* 用来在TaskManage中计算一致性hash的参数
|
||||
* 用来在TaskBus中计算一致性hash的参数
|
||||
*/
|
||||
private int executorConsistentHash;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public class NoAnswerAttachment implements IPacketAttachment {
|
||||
public static final transient short PROTOCOL_ID = 4;
|
||||
|
||||
/**
|
||||
* 用来在TaskManage中计算一致性hash的参数
|
||||
* 用来在TaskBus中计算一致性hash的参数
|
||||
*/
|
||||
private int executorConsistentHash;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class SignalPacketAttachment implements IPacketAttachment {
|
||||
private int packetId = ATOMIC_PACKET_ID.incrementAndGet();
|
||||
|
||||
/**
|
||||
* 用来在TaskManage中计算一致性hash的参数
|
||||
* 用来在TaskBus中计算一致性hash的参数
|
||||
*/
|
||||
private int executorConsistentHash = -1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user