org.infinispan.configuration.cache
Class BackupForConfiguration

java.lang.Object
  extended by org.infinispan.configuration.cache.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 Summary
BackupForConfiguration(String remoteSite, String remoteCache)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isBackupFor(String remoteSite, String remoteCache)
           
 String remoteCache()
           
 String remoteSite()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackupForConfiguration

public BackupForConfiguration(String remoteSite,
                              String remoteCache)
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.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isBackupFor

public boolean isBackupFor(String remoteSite,
                           String remoteCache)

toString

public String toString()
Overrides:
toString in class Object

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.