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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCapacity()
      Returns the capacity configured for the cache.
      java.lang.String getId()
      Returns the identifier of the cache.
      void setCapacity​(int capacity)
      Sets the capacity configured for the cache.
    • Method Detail

      • getId

        java.lang.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