Class CaffeineSpec

    • Method Detail

      • parse

        public static CaffeineSpec parse​(String specification)
        Creates a CaffeineSpec from a string.
        Parameters:
        specification - the string form
        Returns:
        the parsed specification
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toParsableString

        public String toParsableString()
        Returns a string that can be used to parse an equivalent CaffeineSpec. The order and form of this representation is not guaranteed, except that parsing its output will produce a CaffeineSpec equal to this instance.
        Returns:
        a string representation of this specification
      • toString

        public String toString()
        Returns a string representation for this CaffeineSpec instance. The form of this representation is not guaranteed.
        Overrides:
        toString in class Object