Uses of Class
com.google.common.testing.FakeTicker
-
Packages that use FakeTicker Package Description com.google.common.testing Testing utilities. -
-
Uses of FakeTicker in com.google.common.testing
Methods in com.google.common.testing that return FakeTicker Modifier and Type Method Description FakeTickerFakeTicker. advance(long nanoseconds)Advances the ticker value bynanoseconds.FakeTickerFakeTicker. advance(long time, TimeUnit timeUnit)Advances the ticker value bytimeintimeUnit.FakeTickerFakeTicker. advance(Duration duration)Advances the ticker value byduration.FakeTickerFakeTicker. setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit)Sets the increment applied to the ticker whenever it is queried.FakeTickerFakeTicker. setAutoIncrementStep(Duration autoIncrementStep)Sets the increment applied to the ticker whenever it is queried.
-