Interface HAPolicy<T extends Activation>
-
- All Known Implementing Classes:
BackupPolicy,ColocatedPolicy,LiveOnlyPolicy,ReplicaPolicy,ReplicatedPolicy,ReplicationBackupPolicy,ReplicationPrimaryPolicy,SharedStoreMasterPolicy,SharedStoreSlavePolicy
public interface HAPolicy<T extends Activation>Every live server will have an HAPolicy that configures the type of server that it should be either live, backup or colocated (both). It also configures how, if colocated, it should react to sending and receiving requests for backups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleancanScaleDown()TcreateActivation(ActiveMQServerImpl server, boolean wasLive, Map<String,Object> activationParams, IOCriticalErrorListener shutdownOnCriticalIO)StringgetBackupGroupName()StringgetScaleDownClustername()StringgetScaleDownGroupName()booleanisBackup()booleanisSharedStore()default booleanisWaitForActivation()default booleanuseQuorumManager()
-
-
-
Method Detail
-
createActivation
T createActivation(ActiveMQServerImpl server, boolean wasLive, Map<String,Object> activationParams, IOCriticalErrorListener shutdownOnCriticalIO) throws Exception
- Throws:
Exception
-
isSharedStore
boolean isSharedStore()
-
isBackup
boolean isBackup()
-
isWaitForActivation
default boolean isWaitForActivation()
-
canScaleDown
boolean canScaleDown()
-
getBackupGroupName
String getBackupGroupName()
-
getScaleDownGroupName
String getScaleDownGroupName()
-
getScaleDownClustername
String getScaleDownClustername()
-
useQuorumManager
default boolean useQuorumManager()
-
-