emulinker
Toggle table of contents
1.0.2
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
emulinker
emulinker
/
org.emulinker.util
/
TimeOffsetCache
Time
Offset
Cache
class
TimeOffsetCache
(
delay
:
Duration
,
resolution
:
Duration
)
A cache used to fetch a single
Long
value on a delay.
Members
Constructors
Time
Offset
Cache
Link copied to clipboard
constructor
(
delay
:
Duration
,
resolution
:
Duration
)
Properties
size
Link copied to clipboard
var
size
:
Int
Functions
clear
Link copied to clipboard
@
Synchronized
fun
clear
(
)
get
Delayed
Value
Link copied to clipboard
fun
getDelayedValue
(
)
:
Long
?
update
Link copied to clipboard
fun
update
(
latestVal
:
Long
,
nowNs
:
Long
=
System.nanoTime()
)