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)
public Boolean checkForLiveServer()
public T checkForLiveServer(Boolean value)
public String clusterName()
public T clusterName(String value)
public String groupName()
public T groupName(String value)
public Long initialReplicationSyncTimeout()
Copyright © 2018 JBoss by Red Hat. All rights reserved.