Class BackupForConfiguration


  • public class BackupForConfiguration
    extends Object
    Defines the remote caches for which this cache acts as a backup.
    Since:
    5.2
    Author:
    Mircea Markus
    • Constructor Detail

      • BackupForConfiguration

        public BackupForConfiguration​(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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isBackupFor

        public boolean isBackupFor​(String remoteSite,
                                   String remoteCache)