Package org.eclipse.jetty.io
Interface CyclicTimeouts.Expirable
-
- All Known Implementing Classes:
HttpChannel
,HttpChannelOverHTTP
,HttpExchange
- Enclosing class:
- CyclicTimeouts<T extends CyclicTimeouts.Expirable>
@Deprecated(since="2021-05-27") public static interface CyclicTimeouts.Expirable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.An entity that may expire.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description long
getExpireNanoTime()
Deprecated.Returns the expiration time in nanoseconds.
-
-
-
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
-
-