Class DeadlockDetectionConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.DeadlockDetectionConfiguration
-
- All Implemented Interfaces:
Matchable<DeadlockDetectionConfiguration>,BaseConfigurationInfo,ConfigurationInfo
@Deprecated public class DeadlockDetectionConfiguration extends java.lang.Object implements Matchable<DeadlockDetectionConfiguration>, ConfigurationInfo
Deprecated.Since 9.0, deadlock detection is always disabled.Configures deadlock detection.
-
-
Field Summary
Fields Modifier and Type Field Description static ElementDefinitionELEMENT_DEFINITIONDeprecated.static AttributeDefinition<java.lang.Boolean>ENABLEDDeprecated.static AttributeDefinition<java.lang.Long>SPIN_DURATIONDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttributeSetattributes()Deprecated.booleanenabled()Deprecated.Since 9.0, always returnsfalse.booleanequals(java.lang.Object obj)Deprecated.ElementDefinitiongetElementDefinition()Deprecated.inthashCode()Deprecated.longspinDuration()Deprecated.Since 9.0, always returns-1.java.lang.StringtoString()Deprecated.-
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
-
ENABLED
@Deprecated public static final AttributeDefinition<java.lang.Boolean> ENABLED
Deprecated.
-
SPIN_DURATION
@Deprecated public static final AttributeDefinition<java.lang.Long> SPIN_DURATION
Deprecated.
-
ELEMENT_DEFINITION
public static ElementDefinition ELEMENT_DEFINITION
Deprecated.
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
Deprecated.- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
spinDuration
@Deprecated public long spinDuration()
Deprecated.Since 9.0, always returns-1.Time period that determines how often is lock acquisition attempted within maximum time allowed to acquire a particular lock
-
enabled
@Deprecated public boolean enabled()
Deprecated.Since 9.0, always returnsfalse.Whether deadlock detection is enabled or disabled
-
attributes
public AttributeSet attributes()
Deprecated.- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
-