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