Class BackupForConfiguration

  • All Implemented Interfaces:
    org.infinispan.commons.configuration.attributes.Matchable<BackupForConfiguration>, org.infinispan.commons.configuration.attributes.Updatable<BackupForConfiguration>

    public class BackupForConfiguration
    extends org.infinispan.commons.configuration.attributes.ConfigurationElement<BackupForConfiguration>
    Defines the remote caches for which this cache acts as a backup.
    Since:
    5.2
    Author:
    Mircea Markus
    • Field Detail

      • REMOTE_CACHE

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> REMOTE_CACHE
      • REMOTE_SITE

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> REMOTE_SITE
    • Constructor Detail

      • BackupForConfiguration

        public BackupForConfiguration​(org.infinispan.commons.configuration.attributes.AttributeSet attributes)
    • Method Detail

      • remoteCache

        public String remoteCache()
        Returns:
        the name of the remote site that backups data into this cache.
      • remoteSite

        public String remoteSite()
        Returns:
        the name of the remote cache that backups data into this cache.
      • isBackupFor

        public boolean isBackupFor​(String remoteSite,
                                   String remoteCache)