Class RecoveryConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.RecoveryConfiguration
-
- All Implemented Interfaces:
Matchable<RecoveryConfiguration>
public class RecoveryConfiguration extends Object implements Matchable<RecoveryConfiguration>
Defines recovery configuration for the cache.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_RECOVERY_INFO_CACHE
static AttributeDefinition<Boolean>
ENABLED
static AttributeDefinition<String>
RECOVERY_INFO_CACHE_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
enabled()
Determines if recovery is enabled for the cache.boolean
equals(Object obj)
int
hashCode()
String
recoveryInfoCacheName()
Sets the name of the cache where recovery related information is held.String
toString()
-
-
-
Field Detail
-
DEFAULT_RECOVERY_INFO_CACHE
public static final String DEFAULT_RECOVERY_INFO_CACHE
- See Also:
- Constant Field Values
-
ENABLED
public static final AttributeDefinition<Boolean> ENABLED
-
RECOVERY_INFO_CACHE_NAME
public static final AttributeDefinition<String> RECOVERY_INFO_CACHE_NAME
-
-
Method Detail
-
enabled
public boolean enabled()
Determines if recovery is enabled for the cache.
-
recoveryInfoCacheName
public String recoveryInfoCacheName()
Sets the name of the cache where recovery related information is held. If not specified defaults to a cache namedDEFAULT_RECOVERY_INFO_CACHE
-
attributes
public AttributeSet attributes()
-
-