Class FreshnessStats


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-12-06T11:25:47.362934Z[Etc/UTC]")
    public class FreshnessStats
    extends java.lang.Object
    Stats that describe the freshness of a dataset or query result. Useful to describe consistency and staleness of results when served out of a cache or other eventually consistent system.
    • Constructor Detail

      • FreshnessStats

        public FreshnessStats()
    • Method Detail

      • isCached

        public java.lang.Boolean isCached()
        Get cached
        Returns:
        cached
      • setCached

        public void setCached​(java.lang.Boolean cached)
      • systemFreshness

        public FreshnessStats systemFreshness​(java.util.Map<java.lang.String,​java.lang.Long> systemFreshness)
      • putSystemFreshnessItem

        public FreshnessStats putSystemFreshnessItem​(java.lang.String key,
                                                     java.lang.Long systemFreshnessItem)
      • getSystemFreshness

        public java.util.Map<java.lang.String,​java.lang.Long> getSystemFreshness()
        Get systemFreshness
        Returns:
        systemFreshness
      • setSystemFreshness

        public void setSystemFreshness​(java.util.Map<java.lang.String,​java.lang.Long> systemFreshness)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object