Class TakeOfflineConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.TakeOfflineConfiguration
-
- All Implemented Interfaces:
Matchable<TakeOfflineConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public class TakeOfflineConfiguration extends java.lang.Object implements Matchable<TakeOfflineConfiguration>, ConfigurationInfo
- Since:
- 5.2
- Author:
- Mircea Markus
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Integer>
AFTER_FAILURES
static AttributeDefinition<java.lang.Long>
MIN_TIME_TO_WAIT
-
Constructor Summary
Constructors Constructor Description TakeOfflineConfiguration(AttributeSet attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
afterFailures()
AttributeSet
attributes()
boolean
enabled()
boolean
equals(java.lang.Object obj)
ElementDefinition
getElementDefinition()
int
hashCode()
long
minTimeToWait()
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
-
AFTER_FAILURES
public static final AttributeDefinition<java.lang.Integer> AFTER_FAILURES
-
MIN_TIME_TO_WAIT
public static final AttributeDefinition<java.lang.Long> MIN_TIME_TO_WAIT
-
-
Constructor Detail
-
TakeOfflineConfiguration
public TakeOfflineConfiguration(AttributeSet attributes)
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
afterFailures
public int afterFailures()
-
minTimeToWait
public long minTimeToWait()
-
enabled
public boolean enabled()
-
attributes
public AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-