Class L1Configuration

    • Field Detail

      • ENABLED

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> INVALIDATION_THRESHOLD
      • LIFESPAN

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Long> LIFESPAN

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Long> CLEANUP_TASK_FREQUENCY
    • Method Detail

      • enabled

        public boolean enabled()
      • getElementDefinition

        public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
        Specified by:
        getElementDefinition in interface BaseConfigurationInfo
        the ElementDefinition of the configuration.
      • invalidationThreshold

        public int invalidationThreshold()

        Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.

        By default multicast will be used.

        If the threshold is set to -1, then unicasts will always be used. If the threshold is set to 0, then multicast will be always be used.

      • cleanupTaskFrequency

        public long cleanupTaskFrequency()
        Determines how often a cleanup thread runs to clean up an internal log of requestors for a specific key
      • lifespan

        public long lifespan()
        Maximum lifespan of an entry placed in the L1 cache. Default 10 minutes.
      • attributes

        public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
        Specified by:
        attributes in interface BaseConfigurationInfo
        the AttributeSet declared by the configuration.
      • toString

        public String toString()
      • equals

        public boolean equals​(Object obj)
      • hashCode

        public int hashCode()