| Package | Description |
|---|---|
| tech.mlsql.common.utils.base | |
| tech.mlsql.common.utils.cache |
| Modifier and Type | Method and Description |
|---|---|
static Ticker |
Ticker.systemTicker()
A ticker that reads the current time using
System.nanoTime(). |
| Modifier and Type | Method and Description |
|---|---|
static Stopwatch |
Stopwatch.createStarted(Ticker ticker)
Creates (and starts) a new stopwatch, using the specified time
source.
|
static Stopwatch |
Stopwatch.createUnstarted(Ticker ticker)
Creates (but does not start) a new stopwatch, using the specified time
source.
|
| Constructor and Description |
|---|
Stopwatch(Ticker ticker)
Deprecated.
Use
Stopwatch.createUnstarted(Ticker) instead. This
constructor is scheduled to be removed in Guava release 17.0. |
| Modifier and Type | Method and Description |
|---|---|
CacheBuilder<K,V> |
CacheBuilder.ticker(Ticker ticker)
Specifies a nanosecond-precision time source for use in determining when entries should be
expired.
|
Copyright © 2020. All rights reserved.