public abstract class TimeProvider extends Object implements Serializable
System#currentTime()
on every call to replicated ChronicleMap
or ChronicleSet
.
Subclasses should be immutable, because ChronicleHashBuilder
doesn't make defensive
copies.ChronicleHashBuilder.timeProvider(TimeProvider)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static TimeProvider |
SYSTEM
Delegates
currentTime() to System#currentTime() . |
Constructor and Description |
---|
TimeProvider() |
Modifier and Type | Method and Description |
---|---|
abstract long |
currentTime() |
public static final TimeProvider SYSTEM
currentTime()
to System#currentTime()
.Copyright © 2015. All rights reserved.