Class BackupForConfiguration


  • public class BackupForConfiguration
    extends java.lang.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 java.lang.String remoteCache()
        Returns:
        the name of the remote site that backups data into this cache.
      • remoteSite

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public boolean isBackupFor​(java.lang.String remoteSite,
                                   java.lang.String remoteCache)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object