Uses of Class
org.apache.solr.common.util.TimeSource
-
Packages that use TimeSource Package Description org.apache.solr.common.util Common utility classes reused on both clients & server. -
-
Uses of TimeSource in org.apache.solr.common.util
Subclasses of TimeSource in org.apache.solr.common.util Modifier and Type Class Description static class
TimeSource.CurrentTimeSource
Implementation that usesSystem.currentTimeMillis()
.static class
TimeSource.NanoTimeSource
Implementation that usesSystem.nanoTime()
.static class
TimeSource.SimTimeSource
Implementation that usesNANO_TIME
accelerated by a double multiplier.Fields in org.apache.solr.common.util declared as TimeSource Modifier and Type Field Description static TimeSource
TimeSource. CURRENT_TIME
This instance usesTimeSource.CurrentTimeSource
for generating timestamps.static TimeSource
TimeSource. NANO_TIME
This instance usesTimeSource.NanoTimeSource
for generating timestamps.Methods in org.apache.solr.common.util that return TimeSource Modifier and Type Method Description static TimeSource
TimeSource. get(String type)
Obtain an instance of time source.Methods in org.apache.solr.common.util with parameters of type TimeSource Modifier and Type Method Description static long
Utils. time(TimeSource timeSource, TimeUnit unit)
static long
Utils. timeElapsed(TimeSource timeSource, long start, TimeUnit unit)
-