Class RecoveryConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.RecoveryConfiguration
-
- All Implemented Interfaces:
Matchable<RecoveryConfiguration>,BaseConfigurationInfo,ConfigurationInfo
public class RecoveryConfiguration extends java.lang.Object implements Matchable<RecoveryConfiguration>, ConfigurationInfo
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)ElementDefinitiongetElementDefinition()inthashCode()java.lang.StringrecoveryInfoCacheName()Sets the name of the cache where recovery related information is held.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
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.
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
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()
- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
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
-
-