Class UnsafeConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.UnsafeConfiguration
-
- All Implemented Interfaces:
Matchable<UnsafeConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public class UnsafeConfiguration extends java.lang.Object implements Matchable<UnsafeConfiguration>, ConfigurationInfo
Controls certain tuning parameters that may break some of Infinispan's public API contracts in exchange for better performance in some cases. Use with care, only after thoroughly reading and understanding the documentation about a specific feature.- See Also:
UnsafeConfigurationBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Boolean>
UNRELIABLE_RETURN_VALUES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
equals(java.lang.Object o)
ElementDefinition
getElementDefinition()
int
hashCode()
java.lang.String
toString()
boolean
unreliableReturnValues()
Specifies whether Infinispan is allowed to disregard theMap
contract when providing return values forBasicCache.put(Object, Object)
andBasicCache.remove(Object)
methods.-
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
-
UNRELIABLE_RETURN_VALUES
public static final AttributeDefinition<java.lang.Boolean> UNRELIABLE_RETURN_VALUES
-
-
Method Detail
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
unreliableReturnValues
public boolean unreliableReturnValues()
Specifies whether Infinispan is allowed to disregard theMap
contract when providing return values forBasicCache.put(Object, Object)
andBasicCache.remove(Object)
methods.
-
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 o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-