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). |
int |
getLoadFactor()
Deprecated.
use load factor on the "distributed" level instead.
|
boolean |
isEnabled()
Deprecated.
Use "enabled" on the distributed command bus level instead.
|
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 |
setEnabled(boolean enabled)
Deprecated.
Use "enabled" on the Distributed Command Bus level instead.
|
void |
setGossip(DistributedCommandBusProperties.JGroupsProperties.Gossip gossip)
Sets the
DistributedCommandBusProperties.JGroupsProperties.Gossip configuration in case the Gossip protocol is configured for JGroups (default). |
void |
setLoadFactor(int loadFactor)
Deprecated.
use load factor on the "distributed" level instead.
|
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.@Deprecated public boolean isEnabled()
@Deprecated public void setEnabled(boolean enabled)
enabled
- whether the Distributed Command Bus auto-configuration is enabled.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).@Deprecated public int getLoadFactor()
@Deprecated public void setLoadFactor(int loadFactor)
loadFactor
- the load factor for this instance.Copyright © 2010–2018. All rights reserved.