Interface CyclicTimeouts.Expirable

    • Method Detail

      • getExpireNanoTime

        long getExpireNanoTime()
        Deprecated.

        Returns the expiration time in nanoseconds.

        The value to return must be calculated taking into account System.nanoTime(), for example:

        expireNanoTime = System.nanoTime() + timeoutNanos

        Returning Long.MAX_VALUE indicates that this entity does not expire.

        Returns:
        the expiration time in nanoseconds, or Long.MAX_VALUE if this entity does not expire