Class CacheBuilderSpec

    • Method Detail

      • parse

        public static CacheBuilderSpec parse​(String cacheBuilderSpecification)
        Creates a CacheBuilderSpec from a string.
        Parameters:
        cacheBuilderSpecification - the string form
      • disableCaching

        public static CacheBuilderSpec disableCaching()
        Returns a CacheBuilderSpec that will prevent caching.
      • toParsableString

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object