public class Clock
extends java.lang.Object
instance for how to use a custom implementation.
 Please note that Clock wasn't used, as it would not be possible to provide an
 implementation for nanoTime() with the exact same properties of System.nanoTime().| Modifier and Type | Field and Description | 
|---|---|
| static Clock | instanceStatic singleton object that will be instanciated by default with a system clock
 implementation. | 
| Constructor and Description | 
|---|
| Clock() | 
| Modifier and Type | Method and Description | 
|---|---|
| long | currentTimeMillis() | 
| long | nanoTime() | 
public static Clock instance
cassandra.clock system property to a FQCN to use a
 different implementation instead.Copyright © 2018 The Apache Software Foundation