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 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<Boolean>
UNRELIABLE_RETURN_VALUES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
boolean
equals(Object o)
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
hashCode()
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 interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
UNRELIABLE_RETURN_VALUES
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> UNRELIABLE_RETURN_VALUES
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.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 org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public String toString()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-