Package com.configcat

Class Entry


  • public class Entry
    extends java.lang.Object
    • Field Detail

      • EMPTY

        public static final Entry EMPTY
    • Constructor Detail

      • Entry

        public Entry​(Config config,
                     java.lang.String eTag,
                     java.lang.String configJson,
                     long fetchTime)
    • Method Detail

      • getConfig

        public Config getConfig()
      • getETag

        public java.lang.String getETag()
      • getFetchTime

        public long getFetchTime()
      • getConfigJson

        public java.lang.String getConfigJson()
      • withFetchTime

        public Entry withFetchTime​(long fetchTime)
      • serialize

        public java.lang.String serialize()
      • fromString

        public static Entry fromString​(java.lang.String cacheValue)
                                throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException