Interface ICacheConfig


  • public interface ICacheConfig
    The configuration of a cache.
    Since:
    4.0.11
    Version:
    $Revision$ $Date$
    • 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