Class DistributedCommandBusProperties.JGroupsProperties.Gossip
java.lang.Object
org.axonframework.extension.springboot.DistributedCommandBusProperties.JGroupsProperties.Gossip
- Enclosing class:
DistributedCommandBusProperties.JGroupsProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHosts()Returns the host names and ports of theDistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to.booleanWhether the embeddedDistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started.voidsetAutoStart(boolean autoStart) Sets whether the embeddedDistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started.voidSets the host names and ports of theDistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to.
-
Constructor Details
-
Gossip
public Gossip()
-
-
Method Details
-
isAutoStart
public boolean isAutoStart()Whether the embeddedDistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started. Defaults tofalse.- Returns:
- whether the embedded
DistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started.
-
setAutoStart
public void setAutoStart(boolean autoStart) Sets whether the embeddedDistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started. Defaults tofalse.- Parameters:
autoStart- whether the embeddedDistributedCommandBusProperties.JGroupsProperties.GossipServer should be automatically started.
-
getHosts
Returns the host names and ports of theDistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to. Nodes are provided in the formatHostA[5555],HostB[5555]. Defaults tolocalhost[12001].- Returns:
- the host names and ports of the
DistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to.
-
setHosts
Sets the host names and ports of theDistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to. Nodes are provided in the formatHostA[5555],HostB[5555]. Defaults tolocalhost[12001].- Parameters:
hosts- the host names and ports of theDistributedCommandBusProperties.JGroupsProperties.GossipRouters to connect to.
-