Class CacheBuilderSpec

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CacheBuilderSpec disableCaching()
      Returns a CacheBuilderSpec that will prevent caching.
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      static CacheBuilderSpec parse​(java.lang.String cacheBuilderSpecification)
      Creates a CacheBuilderSpec from a string.
      java.lang.String toParsableString()
      Returns a string that can be used to parse an equivalent CacheBuilderSpec.
      java.lang.String toString()
      Returns a string representation for this CacheBuilderSpec instance.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • parse

        public static CacheBuilderSpec parse​(java.lang.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 java.lang.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 java.lang.String toString()
        Returns a string representation for this CacheBuilderSpec instance. The form of this representation is not guaranteed.
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object