Class UnsafeConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.UnsafeConfiguration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<UnsafeConfiguration>,BaseConfigurationInfo,ConfigurationInfo
public class UnsafeConfiguration extends java.lang.Object implements org.infinispan.commons.configuration.attributes.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 org.infinispan.commons.configuration.attributes.AttributeDefinition<java.lang.Boolean>UNRELIABLE_RETURN_VALUES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSetattributes()booleanequals(java.lang.Object o)org.infinispan.commons.configuration.elements.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 interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.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 org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
toString
public java.lang.String toString()
-
equals
public boolean equals(java.lang.Object o)
-
hashCode
public int hashCode()
-
-