Interface TimestampedService

    • Method Detail

      • getLastModified

        Long getLastModified()
        Returns the last modification timestamp or null if unknown.

        This method is useful for third-party code implementing caching on resources held by the component/service.

        Since:
        5.6
        See Also:
        setLastModified(Long)
      • setLastModified

        void setLastModified​(Long lastModified)
        Sets the last modified date.

        This method is supposed to be called whenever the component/service resources or state changes.

        Since:
        5.6
        See Also:
        getLastModified()