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
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<String>
REMOTE_CACHE
static AttributeDefinition<String>
REMOTE_SITE
-
Constructor Summary
Constructors Constructor Description BackupForConfiguration(AttributeSet attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
equals(Object obj)
int
hashCode()
boolean
isBackupFor(String remoteSite, String remoteCache)
String
remoteCache()
String
remoteSite()
String
toString()
-
-
-
Field Detail
-
REMOTE_CACHE
public static final AttributeDefinition<String> REMOTE_CACHE
-
REMOTE_SITE
public static final AttributeDefinition<String> REMOTE_SITE
-
-
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.
-
attributes
public AttributeSet attributes()
-
-