## Uses of Class
org.apache.solr.common.util.TimeSource

Packages that use TimeSource
org.apache.solr.client.solrj.cloud.autoscaling: Common classes for autoscaling parsing filtering nodes and sorting
org.apache.solr.client.solrj.impl: Concrete implementations of client API classes.
org.apache.solr.common.util: Common utility classes reused on both clients & server.

### Uses of TimeSource in org.apache.solr.client.solrj.cloud.autoscaling

Methods in org.apache.solr.client.solrj.cloud.autoscaling that return TimeSource
`TimeSource` DelegatingCloudManager.`getTimeSource()`
`TimeSource` SolrCloudManager.`getTimeSource()`

### Uses of TimeSource in org.apache.solr.client.solrj.impl

Methods in org.apache.solr.client.solrj.impl that return TimeSource
`TimeSource` SolrClientCloudManager.`getTimeSource()`

### Uses of TimeSource in org.apache.solr.common.util

Subclasses of TimeSource in org.apache.solr.common.util
`static class` `TimeSource.CurrentTimeSource` Implementation that uses `System.currentTimeMillis()`.
`static class` `TimeSource.NanoTimeSource` Implementation that uses `System.nanoTime()`.
`static class` `TimeSource.SimTimeSource` Implementation that uses `NANO_TIME` accelerated by a double multiplier.

Fields in org.apache.solr.common.util declared as TimeSource
`static TimeSource` TimeSource.`CURRENT_TIME` This instance uses `TimeSource.CurrentTimeSource` for generating timestamps.
`static TimeSource` TimeSource.`NANO_TIME` This instance uses `TimeSource.NanoTimeSource` for generating timestamps.

Methods in org.apache.solr.common.util that return TimeSource
`static TimeSource` TimeSource.`get(String type)` Obtain an instance of time source.

Methods in org.apache.solr.common.util with parameters of type TimeSource
`static long` Utils.`time(TimeSource timeSource, TimeUnit unit)`
`static long` Utils.`timeElapsed(TimeSource timeSource, long start, TimeUnit unit)`