Class SharedStoreBackupPolicy
java.lang.Object
org.apache.activemq.artemis.core.server.cluster.ha.BackupPolicy
org.apache.activemq.artemis.core.server.cluster.ha.SharedStoreBackupPolicy
- All Implemented Interfaces:
HAPolicy<Activation>
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.server.cluster.ha.BackupPolicy
restartBackup, scaleDownPolicy -
Constructor Summary
ConstructorsConstructorDescriptionSharedStoreBackupPolicy(boolean failoverOnServerShutdown, boolean restartBackup, boolean allowAutoFailBack, ScaleDownPolicy scaleDownPolicy) -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateActivation(ActiveMQServerImpl server, boolean wasPrimary, Map<String, Object> activationParams, IOCriticalErrorListener ioCriticalErrorListener) created the Activation associated with this policy.longDeprecated.booleanbooleanbooleanvoidsetAllowAutoFailBack(boolean allowAutoFailBack) voidsetFailbackDelay(long failbackDelay) Deprecated.voidsetFailoverOnServerShutdown(boolean failoverOnServerShutdown) voidsetIsWaitForActivation(boolean isWaitForActivation) voidsetSharedStorePrimaryPolicy(SharedStorePrimaryPolicy sharedStorePrimaryPolicy) Methods inherited from class org.apache.activemq.artemis.core.server.cluster.ha.BackupPolicy
getScaleDownGroupName, getScaleDownPolicy, isBackup, isRestartBackup, setRestartBackup, setScaleDownPolicyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.cluster.ha.HAPolicy
getScaleDownClustername, getScaleDownCommitInterval, isWaitForActivation, useQuorumManager
-
Constructor Details
-
SharedStoreBackupPolicy
public SharedStoreBackupPolicy() -
SharedStoreBackupPolicy
public SharedStoreBackupPolicy(boolean failoverOnServerShutdown, boolean restartBackup, boolean allowAutoFailBack, ScaleDownPolicy scaleDownPolicy)
-
-
Method Details
-
getFailbackDelay
Deprecated. -
setFailbackDelay
Deprecated. -
isFailoverOnServerShutdown
public boolean isFailoverOnServerShutdown() -
setFailoverOnServerShutdown
public void setFailoverOnServerShutdown(boolean failoverOnServerShutdown) -
canScaleDown
public boolean canScaleDown() -
isAllowAutoFailBack
public boolean isAllowAutoFailBack() -
setAllowAutoFailBack
public void setAllowAutoFailBack(boolean allowAutoFailBack) -
setIsWaitForActivation
public void setIsWaitForActivation(boolean isWaitForActivation) -
createActivation
public Activation createActivation(ActiveMQServerImpl server, boolean wasPrimary, Map<String, Object> activationParams, IOCriticalErrorListener ioCriticalErrorListener) Description copied from interface:HAPolicycreated the Activation associated with this policy. -
getBackupGroupName
-