Class UnsafeConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.UnsafeConfiguration
-
- All Implemented Interfaces:
Matchable<UnsafeConfiguration>
public class UnsafeConfiguration extends Object implements Matchable<UnsafeConfiguration>
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<Boolean>
UNRELIABLE_RETURN_VALUES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSet
attributes()
boolean
equals(Object o)
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.
-
-
-
Field Detail
-
UNRELIABLE_RETURN_VALUES
public static final AttributeDefinition<Boolean> UNRELIABLE_RETURN_VALUES
-
-
Method Detail
-
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()
-
-