Class MemoryConfiguration

    • Field Detail

      • ELEMENT_DEFINITION

        public static final org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
    • Method Detail

      • getElementDefinition

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

        public StorageType storageType()
        Storage type to use for the data container
        Returns:
      • size

        public long size()
        Size of the eviction, -1 if disabled
        Returns:
      • size

        public void size​(long newSize)
      • evictionType

        public EvictionType evictionType()
        The configured eviction type
        Returns:
      • evictionStrategy

        public EvictionStrategy evictionStrategy()
        The configured eviction strategy
        Returns:
      • isEvictionEnabled

        public boolean isEvictionEnabled()
        Returns whether remove eviction is in use
        Returns:
      • addressCount

        @Deprecated
        public int addressCount()
        Deprecated.
        since 10.0
        The address pointer count
        Returns:
      • equals

        public boolean equals​(Object o)
      • hashCode

        public int hashCode()
      • toString

        public String toString()