The discovery configuration could either use plain UDP, or JGroups.
If using UDP, all the UDP properties will be filled and the jgroups properties will be {@code null}.
If using JGroups, all the UDP properties will be -1 or {@code null} and the jgroups propertieswill be filled.
If by any reason, both properties are filled, the JGroups takes precedence. That means, if {@code jgroupsFile != null} then the Grouping method used will be JGroups.
@author Tim Fox
@author Clebert Suconic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|