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 AttributeSetattributes()booleanequals(java.lang.Object o)ElementDefinitiongetElementDefinition()inthashCode()java.lang.StringtoString()booleanunreliableReturnValues()Specifies whether Infinispan is allowed to disregard theMapcontract 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:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
unreliableReturnValues
public boolean unreliableReturnValues()
Specifies whether Infinispan is allowed to disregard theMapcontract when providing return values forBasicCache.put(Object, Object)andBasicCache.remove(Object)methods.
-
attributes
public AttributeSet attributes()
- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-