Interface ICacheConfig


  • public interface ICacheConfig
    The configuration of a cache.
    Since:
    4.0.11
    Version:
    $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
    • Method Detail

      • getId

        String getId()
        Returns the identifier of the cache.
        Returns:
        the identifier of the cache.
        Since:
        4.0.11
      • getCapacity

        int getCapacity()
        Returns the capacity configured for the cache.
        Returns:
        the capacity configured for the cache.
        Since:
        4.0.11
      • setCapacity

        void setCapacity​(int capacity)
        Sets the capacity configured for the cache.
        Parameters:
        capacity - the capacity to set.
        Since:
        4.0.11