| Package | Description |
|---|---|
| cz.auderis.tools.time |
Facilitates common time-related tasks, such as obtaining current time,
handling timeouts etc.
|
| cz.auderis.tools.time.timeout |
Introduces a concept of timeout and provides variety of useful implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ManualTimeProvider
Implementation of
TimeProvider that provides time
that is constant; the time is changed exclusively by invoking appropriate methods. |
class |
SteppingTimeProvider |
| Modifier and Type | Method and Description |
|---|---|
static TimeProvider |
TimeProviders.systemClock()
Obtains a
TimeProvider that is based
on system clock. |
| Modifier and Type | Method and Description |
|---|---|
static Timeout |
Timeouts.simpleWithProvider(long duration,
TimeUnit durationUnit,
TimeProvider provider) |
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.