Class RecoveryConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.RecoveryConfiguration
-
- All Implemented Interfaces:
Matchable<RecoveryConfiguration>
public class RecoveryConfiguration extends java.lang.Object implements Matchable<RecoveryConfiguration>
Defines recovery configuration for the cache.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_RECOVERY_INFO_CACHEstatic AttributeDefinition<java.lang.Boolean>ENABLEDstatic AttributeDefinition<java.lang.String>RECOVERY_INFO_CACHE_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSetattributes()booleanenabled()Determines if recovery is enabled for the cache.booleanequals(java.lang.Object obj)inthashCode()java.lang.StringrecoveryInfoCacheName()Sets the name of the cache where recovery related information is held.java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT_RECOVERY_INFO_CACHE
public static final java.lang.String DEFAULT_RECOVERY_INFO_CACHE
- See Also:
- Constant Field Values
-
ENABLED
public static final AttributeDefinition<java.lang.Boolean> ENABLED
-
RECOVERY_INFO_CACHE_NAME
public static final AttributeDefinition<java.lang.String> RECOVERY_INFO_CACHE_NAME
-
-
Method Detail
-
enabled
public boolean enabled()
Determines if recovery is enabled for the cache.
-
recoveryInfoCacheName
public java.lang.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()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-