org.infinispan.configuration.cache
Class BackupForConfiguration
java.lang.Object
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
BackupForConfiguration
public BackupForConfiguration(String remoteSite,
String remoteCache)
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.