« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |
戒除浮躁,读好书,交益友 |
Blog信息 |
blog名称:邢红瑞的blog 日志总数:523 评论数量:1142 留言数量:0 访问次数:9696673 建立时间:2004年12月20日 |

| |
[j2ee]System properties supported by JGroups (2.4 and higher) 文章收藏, 网上资源, 软件技术, 电脑与网络
邢红瑞 发表于 2008/8/4 15:34:47 |
System properties supported by JGroups (2.4 and higher)
The system properties below are recognized by JGroups and override the corresponding values defined in the XML configuration. Note that the new names should be used, as the old names will be phased out in one of the next releases, although they are still supported at the time.
Name
Old name
Description
Example
Used in
jgroups.bind_addr
bind.address
The interface to use. If not set, JGroups will pick the first non-loopback NIC
jgroups.bind_addr=192.168.5.2
UDP, TCP, TCP_NIO, MPING, FD_SOCK, STREAMING_STATE_TRANSFER
jgroups.bind_interface
-
The network interface to use
jgroups.bind_interface=eth0
jgroups.ignore.bind_addr
ignore.bind.address
Overrides the jgroups.bind_addr property (default=false)
jgroups.ignore.bind_addr=true
(same as above)
jgroups.tcpping.initial_hosts
n/a
The initial list of hosts
jgroups.tcpping.initial_hosts=host1[7800],host2[7800]
TCPPING
jgroups.udp.mcast_addr
jboss.partition.udpGroup
The multicast address
jgroups.udp.mcast_addr=225.1.2.3
UDP
jgroups.udp.mcast_port
jboss.partition.udpPort
The multicast port
jgroups.udp.mcast_port=7500
UDP
jgroups.udp.ip_ttl
n/a
The TTL value
jgroups.udp.ip_ttl=32
UDP
jgroups.mping.mcast_addr
n/a
The multicast address
jgroups.mping.mcast_addr=228.4.5.6
MPING
jgroups.mping.mcast_port
n/a
The multicast port
jgroups.mping.mcast_port=5678
MPING
jgroups.mping.ip_ttl
n/a
The time to live
jgroups.mping.ip_ttl=8
MPING
jgroups.conf.magic_number_file
org.jgroups.conf.magicNumberFile
The location of jg-magic-map.xml
-
-
jgroups.resolve_dns
resolve.dns
Whether of not to resolve a dotted decimal name to a symbolic name (default=false)
-
IpAddress?
jgroups.channel.local_addr_timeout
local.addr.timeout
How long (in ms) to wait for the local address to be assigned (default=30000)
-
jgroups.marshalling.compatible
n/a
Whether of not to use the old style Util.objectFrom/ToByteBuffer()
jgroups.marshalling.compatible=true (default=false)
Util
jgroups.scheduler.max_threads
scheduler.max.threads
The max number of threads in the scheduler
-
jgroups.timer.num_threads
-
The number of threads in the timer service
-
jgroups.mux.enabled
-
Whether of not to enable the Multiplexer's thread pool (default is true)
-
jgroups.mux.min_threads
-
The minimum number of threads in the Multiplexer's thread pool
-
jgroups.mux.max_threads
-
The maximum number of threads in the Multiplexer's thread pool
-
jgroups.mux.keepalive_time
-
The timeout (in ms) for the threads in the Multiplexer's thread pool
-
|
|
|