Class CacheDirective

    • Constructor Detail

      • CacheDirective

        public CacheDirective()
      • CacheDirective

        public CacheDirective​(Boolean prefersMemory,
                              Long ttl)
    • Method Detail

      • getPrefersMemory

        public Boolean getPrefersMemory()
      • setPrefersMemory

        public void setPrefersMemory​(Boolean prefersMemory)
      • getTtl

        public Long getTtl()
        Get the time to live in milliseconds
        Returns:
      • setTtl

        public void setTtl​(Long ttl)
        Set the time to live in milliseconds
        Parameters:
        ttl -
      • getUpdatable

        public Boolean getUpdatable()
        Get whether the result is updatable and therefore sensitive to data changes.
        Returns:
      • setUpdatable

        public void setUpdatable​(Boolean updatable)
      • getReadAll

        public Boolean getReadAll()
        Whether the engine should read and cache the entire results.
        Returns:
      • setReadAll

        public void setReadAll​(Boolean readAll)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object