Interface ExpirableEntity

    • Method Detail

      • getExpiration

        Long getExpiration()
        Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.
        Returns:
        a timestamp in milliseconds since The Epoch or null if this entity never expires or expiration is not known.
      • setExpiration

        void setExpiration​(Long expiration)
        Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.
        Parameters:
        expiration - a timestamp in milliseconds since The Epoch or null if this entity never expires.