Class UnsafeConfiguration

  • All Implemented Interfaces:
    org.infinispan.commons.configuration.attributes.Matchable<UnsafeConfiguration>

    public class UnsafeConfiguration
    extends Object
    implements org.infinispan.commons.configuration.attributes.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 Detail

      • UNRELIABLE_RETURN_VALUES

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> UNRELIABLE_RETURN_VALUES
    • Method Detail

      • unreliableReturnValues

        public boolean unreliableReturnValues()
        Specifies whether Infinispan is allowed to disregard the Map contract when providing return values for BasicCache.put(Object, Object) and BasicCache.remove(Object) methods.
      • attributes

        public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object