Class RecoveryConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.RecoveryConfiguration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<RecoveryConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public class RecoveryConfiguration extends Object implements org.infinispan.commons.configuration.attributes.Matchable<RecoveryConfiguration>, ConfigurationInfo
Defines recovery configuration for the cache.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_RECOVERY_INFO_CACHE
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
ENABLED
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
RECOVERY_INFO_CACHE_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
boolean
enabled()
Determines if recovery is enabled for the cache.boolean
equals(Object obj)
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
hashCode()
String
recoveryInfoCacheName()
Sets the name of the cache where recovery related information is held.String
toString()
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
DEFAULT_RECOVERY_INFO_CACHE
public static final String DEFAULT_RECOVERY_INFO_CACHE
- See Also:
- Constant Field Values
-
ENABLED
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
-
RECOVERY_INFO_CACHE_NAME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> RECOVERY_INFO_CACHE_NAME
-
-
Method Detail
-
enabled
public boolean enabled()
Determines if recovery is enabled for the cache.
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
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 org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public String toString()
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
-