public class HaPolicySharedStoreColocated<T extends HaPolicySharedStoreColocated> extends Object
| Constructor and Description |
|---|
HaPolicySharedStoreColocated() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
backupPortOffset()
The offset to use for the Connectors and Acceptors when creating a new backup server.
|
T |
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.
|
T |
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.
|
T |
backupRequestRetryInterval(Long value)
How long (in ms) to wait for retries between attempts to request a backup server.
|
ConfigurationMaster |
configurationMaster()
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).
|
T |
configurationMaster(ConfigurationMaster 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).
|
ConfigurationSlave |
configurationSlave()
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).
|
T |
configurationSlave(ConfigurationSlave 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).
|
String |
getKey() |
Integer |
maxBackups()
Whether or not this live server will accept backup requests from other live servers.
|
T |
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.
|
T |
requestBackup(Boolean value)
If true then the server will request a backup on another node.
|
public String getKey()
public Integer backupPortOffset()
public T backupPortOffset(Integer value)
public Integer backupRequestRetries()
public T backupRequestRetries(Integer value)
public Long backupRequestRetryInterval()
public T backupRequestRetryInterval(Long value)
public Integer maxBackups()
public T maxBackups(Integer value)
public Boolean requestBackup()
public T requestBackup(Boolean value)
public ConfigurationMaster configurationMaster()
public T configurationMaster(ConfigurationMaster value)
public ConfigurationSlave configurationSlave()
public T configurationSlave(ConfigurationSlave value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.