Interface InternalEhcache

    • Method Detail

      • removeAndReturnElement

        Element removeAndReturnElement​(java.lang.Object key)
                                throws java.lang.IllegalStateException
        Removes and returns the element associated with the key
        Parameters:
        key - the key of the element to operate on
        Returns:
        element the removed element associated with the key, null if no mapping exists
        Throws:
        java.lang.IllegalStateException - if the cache is not Status.STATUS_ALIVE
      • recalculateSize

        void recalculateSize​(java.lang.Object key)
        Recalculate the size of the element mapped to the key
        Parameters:
        key - the key