| Package | Description |
|---|---|
| net.openhft.chronicle.core.threads |
Provides classes and interfaces for thread management and scheduling in an
event-driven programming model.
|
| net.openhft.chronicle.core.time |
| Constructor and Description |
|---|
CancellableTimer(@NotNull EventLoop eventLoop,
@NotNull TimeProvider timeProvider)
Constructs a CancellableTimer with the given event loop and custom time provider.
|
Timer(@NotNull EventLoop eventLoop,
@NotNull TimeProvider timeProvider)
Constructs a Timer with a specified time provider.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PosixTimeProvider
This is the raw Posix time, if you need it to be unique or a multiple of 32 use a wrapper.
|
class |
SetTimeProvider
TimeProvider whose value can be explicitly set and advanced for testing purposes.
|
class |
SystemTimeProvider
SystemTimeProvider synthesises a nanosecond wall-clock time via System.nanoTime deltas in combination with System.currentTimeMillis.
|
class |
UniqueMicroTimeProvider
Timestamps are unique across threads for a single process.
|
| Modifier and Type | Field and Description |
|---|---|
static TimeProvider |
SystemTimeProvider.CLOCK |
| Modifier and Type | Method and Description |
|---|---|
UniqueMicroTimeProvider |
UniqueMicroTimeProvider.provider(TimeProvider provider) |
Copyright © 2023. All rights reserved.