@Address(value="/subsystem=messaging-activemq/server=*/ha-policy=replication-master") @Implicit public class ReplicationMasterHAPolicy<T extends ReplicationMasterHAPolicy<T>> extends Object
Constructor and Description |
---|
ReplicationMasterHAPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
checkForLiveServer()
Whether to check the cluster for another server using the same server ID
when starting up.
|
T |
checkForLiveServer(Boolean value)
Whether to check the cluster for another server using the same server ID
when starting up.
|
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.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="check-for-live-server") public Boolean checkForLiveServer()
public T checkForLiveServer(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()
Copyright © 2016 JBoss by Red Hat. All rights reserved.