public interface TrackedUse
Modifier and Type | Method and Description |
---|---|
long |
getLastUsed()
Deprecated.
Use
getLastUsedInstant() which offers the best precision. |
default Instant |
getLastUsedInstant()
Gets the last Instant this object was used.
|
@Deprecated long getLastUsed()
getLastUsedInstant()
which offers the best precision.default Instant getLastUsedInstant()
Starting with Java 9, the JRE SystemClock
precision is increased usually down to microseconds, or tenth
of microseconds, depending on the OS, Hardware, and JVM implementation.
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.