public static class DistributedCommandBusProperties.JGroupsProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DistributedCommandBusProperties.JGroupsProperties.Gossip |
Constructor and Description |
---|
JGroupsProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getBindAddr()
Returns the Address to bind the JGroups client to.
|
String |
getBindPort()
Returns the port to listen to JGroups connections (default 7800).
|
String |
getClusterName()
Returns the Cluster Name of the JGroups Cluster to connect with (defaults to "Axon").
|
String |
getConfigurationFile()
Returns the path to the configuration file to use to configure the Groups instance.
|
DistributedCommandBusProperties.JGroupsProperties.Gossip |
getGossip()
Returns the
DistributedCommandBusProperties.JGroupsProperties.Gossip configuration in case the Gossip protocol is configured for JGroups (default). |
void |
setBindAddr(String bindAddr)
Sets the Address to bind the JGroups to.
|
void |
setBindPort(String bindPort)
Returns the port to listen to JGroups connections (default 7800).
|
void |
setClusterName(String clusterName)
Sets the Cluster Name of the JGroups Cluster to connect with (defaults to "Axon").
|
void |
setConfigurationFile(String configurationFile)
Sets the path to the configuration file to use to configure the Groups instance.
|
void |
setGossip(DistributedCommandBusProperties.JGroupsProperties.Gossip gossip)
Sets the
DistributedCommandBusProperties.JGroupsProperties.Gossip configuration in case the Gossip protocol is configured for JGroups (default). |
public DistributedCommandBusProperties.JGroupsProperties.Gossip getGossip()
DistributedCommandBusProperties.JGroupsProperties.Gossip
configuration in case the Gossip protocol is configured for JGroups (default).DistributedCommandBusProperties.JGroupsProperties.Gossip
configuration.public void setGossip(DistributedCommandBusProperties.JGroupsProperties.Gossip gossip)
DistributedCommandBusProperties.JGroupsProperties.Gossip
configuration in case the Gossip protocol is configured for JGroups (default).gossip
- the DistributedCommandBusProperties.JGroupsProperties.Gossip
configuration.public String getClusterName()
public void setClusterName(String clusterName)
clusterName
- the Cluster Name of the JGroups Cluster to connect with.public String getConfigurationFile()
public void setConfigurationFile(String configurationFile)
configurationFile
- the path to the configuration file to use to configure the Groups instance.public String getBindAddr()
public void setBindAddr(String bindAddr)
bindAddr
- The address to bind JGroups to.public String getBindPort()
public void setBindPort(String bindPort)
bindPort
- the port to listen to JGroups connections (default 7800).Copyright © 2010–2020. All rights reserved.