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.String
DEFAULT_RECOVERY_INFO_CACHE
static AttributeDefinition<java.lang.Boolean>
ENABLED
static AttributeDefinition<java.lang.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(java.lang.Object obj)
ElementDefinition
getElementDefinition()
int
hashCode()
java.lang.String
recoveryInfoCacheName()
Sets the name of the cache where recovery related information is held.java.lang.String
toString()
-
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:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of 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:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-