Class BackupConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<BackupConfiguration>
org.infinispan.configuration.cache.BackupConfiguration
- All Implemented Interfaces:
Matchable<BackupConfiguration>
,Updatable<BackupConfiguration>
- Since:
- 5.2
- Author:
- Mircea.Markus@jboss.com
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition<BackupFailurePolicy>
static final AttributeDefinition<String>
static final AttributeDefinition<Long>
static final AttributeDefinition<String>
static final AttributeDefinition<BackupConfiguration.BackupStrategy>
static final AttributeDefinition<Boolean>
Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Constructor Summary
ConstructorDescriptionBackupConfiguration
(AttributeSet attributes, TakeOfflineConfiguration takeOfflineConfiguration, XSiteStateTransferConfiguration xSiteStateTransferConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled()
Deprecated, for removal: This API element is subject to removal in a future version.Since 14.0.If the failure policy is set toBackupFailurePolicy.CUSTOM
then the failurePolicyClass is required and should return the fully qualified name of a class implementingCustomFailurePolicy
boolean
boolean
boolean
long
replicationTimeout
(long timeout) Deprecated, for removal: This API element is subject to removal in a future version.Since 14.0.site()
Returns the name of the site where this cache backups its data.strategy()
How does the backup happen: sync or async.Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, toString, update, validateUpdate, write
-
Field Details
-
SITE
-
STRATEGY
-
REPLICATION_TIMEOUT
-
FAILURE_POLICY
-
FAILURE_POLICY_CLASS
-
USE_TWO_PHASE_COMMIT
-
-
Constructor Details
-
BackupConfiguration
public BackupConfiguration(AttributeSet attributes, TakeOfflineConfiguration takeOfflineConfiguration, XSiteStateTransferConfiguration xSiteStateTransferConfiguration)
-
-
Method Details
-
site
Returns the name of the site where this cache backups its data. -
strategy
How does the backup happen: sync or async. -
takeOffline
-
failurePolicyClass
If the failure policy is set toBackupFailurePolicy.CUSTOM
then the failurePolicyClass is required and should return the fully qualified name of a class implementingCustomFailurePolicy
-
isAsyncBackup
public boolean isAsyncBackup() -
isSyncBackup
public boolean isSyncBackup() -
replicationTimeout
public long replicationTimeout() -
replicationTimeout
Deprecated, for removal: This API element is subject to removal in a future version.Since 14.0. To be removed without replacement -
backupFailurePolicy
-
isTwoPhaseCommit
public boolean isTwoPhaseCommit() -
enabled
Deprecated, for removal: This API element is subject to removal in a future version.Since 14.0. To be removed without replacement. -
stateTransfer
-