public static class DistributedCommandBusProperties.JGroupsProperties.Gossip extends Object
| Constructor and Description |
|---|
Gossip() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHosts()
Returns the host names and ports of the
DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to. |
boolean |
isAutoStart()
Whether the embedded
DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started. |
void |
setAutoStart(boolean autoStart)
Sets whether the embedded
DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started. |
void |
setHosts(String hosts)
Sets the host names and ports of the
DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to. |
public boolean isAutoStart()
DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started. Defaults to false.DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started.public void setAutoStart(boolean autoStart)
DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started. Defaults to false.autoStart - whether the embedded DistributedCommandBusProperties.JGroupsProperties.Gossip Server should be automatically started.public String getHosts()
DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to. Nodes are provided in the
format HostA[5555],HostB[5555]. Defaults to localhost[12001].DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to.public void setHosts(String hosts)
DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to. Nodes are provided in the
format HostA[5555],HostB[5555]. Defaults to localhost[12001].hosts - the host names and ports of the DistributedCommandBusProperties.JGroupsProperties.Gossip Routers to connect to.Copyright © 2010–2023. All rights reserved.