Package org.eclipse.jetty.util
Class Uptime
- java.lang.Object
-
- org.eclipse.jetty.util.Uptime
-
public class Uptime extends java.lang.Object
Provide for a Uptime class that is compatible with Android, GAE, and the new Java 8 compact profiles
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Uptime.DefaultImpl
static interface
Uptime.Impl
-
Field Summary
Fields Modifier and Type Field Description static int
NOIMPL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Uptime.Impl
getImpl()
static Uptime
getInstance()
static long
getUptime()
void
setImpl(Uptime.Impl impl)
-
-
-
Field Detail
-
NOIMPL
public static final int NOIMPL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static Uptime getInstance()
-
getImpl
public Uptime.Impl getImpl()
-
setImpl
public void setImpl(Uptime.Impl impl)
-
getUptime
public static long getUptime()
-
-