@Address(value="/subsystem=messaging-activemq/server=*/ha-policy=replication-slave") @Implicit public class ReplicationSlaveHAPolicy<T extends ReplicationSlaveHAPolicy<T>> extends Object
Constructor and Description |
---|
ReplicationSlaveHAPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
allowFailback()
Whether a server will automatically stop when a another places a request
to take over its place.
|
T |
allowFailback(Boolean value)
Whether a server will automatically stop when a another places a request
to take over its place.
|
String |
clusterName()
Name of the cluster used for replication.
|
T |
clusterName(String value)
Name of the cluster used for replication.
|
String |
getKey() |
String |
groupName()
If set, backup servers will only pair with live servers with matching
group-name.
|
T |
groupName(String value)
If set, backup servers will only pair with live servers with matching
group-name.
|
Long |
initialReplicationSyncTimeout()
How long to wait until the initiation replication is synchronized.
|
T |
initialReplicationSyncTimeout(Long value)
How long to wait until the initiation replication is synchronized.
|
Integer |
maxSavedReplicatedJournalSize()
This specifies how many times a replicated backup server can restart
after moving its files on start.
|
T |
maxSavedReplicatedJournalSize(Integer value)
This specifies how many times a replicated backup server can restart
after moving its files on start.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
restartBackup()
Will this server, if a backup, restart once it has been stopped because
of failback or scaling down.
|
T |
restartBackup(Boolean value)
Will this server, if a backup, restart once it has been stopped because
of failback or scaling down.
|
Boolean |
scaleDown()
Configure whether this server send its messages to another live server in
the scale-down cluster when it is shutdown cleanly.
|
T |
scaleDown(Boolean value)
Configure whether this server send its messages to another live server in
the scale-down cluster when it is shutdown cleanly.
|
String |
scaleDownClusterName()
Name of the cluster used to scale down.
|
T |
scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
T |
scaleDownConnector(String value)
List of connectors used to form the scale-down cluster.
|
List<String> |
scaleDownConnectors()
List of connectors used to form the scale-down cluster.
|
T |
scaleDownConnectors(List<String> value)
List of connectors used to form the scale-down cluster.
|
T |
scaleDownConnectors(String... args)
List of connectors used to form the scale-down cluster.
|
String |
scaleDownDiscoveryGroup()
Name of the discovery group used to build the scale-down cluster
|
T |
scaleDownDiscoveryGroup(String value)
Name of the discovery group used to build the scale-down cluster
|
String |
scaleDownGroupName()
Name of the group used to scale down.
|
T |
scaleDownGroupName(String value)
Name of the group used to scale down.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="allow-failback") public Boolean allowFailback()
public T allowFailback(Boolean value)
@ModelNodeBinding(detypedName="cluster-name") public String clusterName()
@ModelNodeBinding(detypedName="group-name") public String groupName()
public T groupName(String value)
@ModelNodeBinding(detypedName="initial-replication-sync-timeout") public Long initialReplicationSyncTimeout()
public T initialReplicationSyncTimeout(Long value)
@ModelNodeBinding(detypedName="max-saved-replicated-journal-size") public Integer maxSavedReplicatedJournalSize()
public T maxSavedReplicatedJournalSize(Integer value)
@ModelNodeBinding(detypedName="restart-backup") public Boolean restartBackup()
public T restartBackup(Boolean value)
@ModelNodeBinding(detypedName="scale-down") public Boolean scaleDown()
public T scaleDown(Boolean value)
@ModelNodeBinding(detypedName="scale-down-cluster-name") public String scaleDownClusterName()
public T scaleDownClusterName(String value)
@ModelNodeBinding(detypedName="scale-down-connectors") public List<String> scaleDownConnectors()
public T scaleDownConnectors(List<String> value)
public T scaleDownConnector(String value)
public T scaleDownConnectors(String... args)
@ModelNodeBinding(detypedName="scale-down-discovery-group") public String scaleDownDiscoveryGroup()
public T scaleDownDiscoveryGroup(String value)
@ModelNodeBinding(detypedName="scale-down-group-name") public String scaleDownGroupName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.