public class ReplicationColocatedHAPolicy<T extends ReplicationColocatedHAPolicy> extends Object
| Constructor and Description |
|---|
ReplicationColocatedHAPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
backupPortOffset()
The offset to use for the Connectors and Acceptors when creating a new backup server.
|
ReplicationColocatedHAPolicy |
backupPortOffset(Integer value)
The offset to use for the Connectors and Acceptors when creating a new backup server.
|
Integer |
backupRequestRetries()
How many times the live server will try to request a backup, -1 means for ever.
|
ReplicationColocatedHAPolicy |
backupRequestRetries(Integer value)
How many times the live server will try to request a backup, -1 means for ever.
|
Long |
backupRequestRetryInterval()
How long (in ms) to wait for retries between attempts to request a backup server.
|
ReplicationColocatedHAPolicy |
backupRequestRetryInterval(Long value)
How long (in ms) to wait for retries between attempts to request a backup server.
|
List<String> |
excludedConnectors()
The connectors that must not have their port offset.
|
ReplicationColocatedHAPolicy |
excludedConnectors(List<String> value)
The connectors that must not have their port offset.
|
ReplicationColocatedHAPolicy |
excludedConnectorsValue(String value)
The connectors that must not have their port offset.
|
String |
getKey() |
MasterConfiguration |
masterConfiguration()
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
ReplicationColocatedHAPolicy |
masterConfiguration(MasterConfiguration value)
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
Integer |
maxBackups()
Whether or not this live server will accept backup requests from other live servers.
|
ReplicationColocatedHAPolicy |
maxBackups(Integer value)
Whether or not this live server will accept backup requests from other live servers.
|
Boolean |
requestBackup()
If true then the server will request a backup on another node.
|
ReplicationColocatedHAPolicy |
requestBackup(Boolean value)
If true then the server will request a backup on another node.
|
SlaveConfiguration |
slaveConfiguration()
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
ReplicationColocatedHAPolicy |
slaveConfiguration(SlaveConfiguration value)
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
public String getKey()
public Integer backupPortOffset()
public ReplicationColocatedHAPolicy backupPortOffset(Integer value)
public Integer backupRequestRetries()
public ReplicationColocatedHAPolicy backupRequestRetries(Integer value)
public Long backupRequestRetryInterval()
public ReplicationColocatedHAPolicy backupRequestRetryInterval(Long value)
public List<String> excludedConnectors()
public ReplicationColocatedHAPolicy excludedConnectors(List<String> value)
public ReplicationColocatedHAPolicy excludedConnectorsValue(String value)
public Integer maxBackups()
public ReplicationColocatedHAPolicy maxBackups(Integer value)
public Boolean requestBackup()
public ReplicationColocatedHAPolicy requestBackup(Boolean value)
public MasterConfiguration masterConfiguration()
public ReplicationColocatedHAPolicy masterConfiguration(MasterConfiguration value)
public SlaveConfiguration slaveConfiguration()
public ReplicationColocatedHAPolicy slaveConfiguration(SlaveConfiguration value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.