Skip to content

SystemClockBridge

final class SystemClockBridge
Implements: IClockBridge
Package: dev.joid.lib.bridge.clock · Module: core · Source: SystemClockBridge.java

The default clock, which returns the time of the JVM.

JOID registers it in BridgeHandler.CLOCK before any backend.

ReturnsSignatureSummary
SystemClockBridge()Creates the clock bridge.

ReturnsSignatureSummary
longnanoTime()Returns System.nanoTime().
longcurrentTimeMillis()Returns System.currentTimeMillis().

SystemClockBridge()

Creates the clock bridge.

long nanoTime()

Returns System.nanoTime().

long currentTimeMillis()

Returns System.currentTimeMillis().


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page