增加 TransportStrategy 功能

This commit is contained in:
Redkale
2017-07-21 16:07:13 +08:00
parent 702220d18e
commit 27b4742b6d
5 changed files with 55 additions and 8 deletions

View File

@@ -37,6 +37,7 @@
threads 线程总数, 默认: <group>节点数*CPU核数*8
bufferCapacity: ByteBuffer的初始化大小 默认: 8K;
bufferPoolSize ByteBuffer池的大小默认: <group>节点数*CPU核数*8
strategy: 远程请求的负载均衡策略, 必须是org.redkale.net.TransportStrategy的实现类
-->
<transport bufferCapacity="8K" bufferPoolSize="32" threads="32"/>