public Long getTimeout(TimeUnit unit) {
        synchronized (monitor) {
            if (timeout == null) {
                return null;
            }
            return unit.convert(timeout, TimeUnit.MILLISECONDS);
        }
    }
<p>Returns the allocated number of time units that this Request is allowed to exist. If no timeout has been set
for this Request, this method returns <em>null</em>.</p>

@param unit The unit to return the timeout in.
@return The timeout of this Request.
@see #setTimeout(long, TimeUnit)
jdisc_core/src/main/java/com/yahoo/jdisc/Request.java