| 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
Provides time based on the Posix standard, particularly utilizing native code
to access high-resolution time.
|
class |
SetTimeProvider
A
TimeProvider implementation that allows explicit setting and manipulation of time values
for testing purposes. |
class |
SystemTimeProvider
SystemTimeProvider synthesises a nanosecond wall-clock time via System.nanoTime deltas in combination with System.currentTimeMillis.
|
class |
UniqueMicroTimeProvider
A
TimeProvider implementation that ensures unique timestamps across threads within a single process. |
| Modifier and Type | Field and Description |
|---|---|
static TimeProvider |
SystemTimeProvider.CLOCK |
| Modifier and Type | Method and Description |
|---|---|
UniqueMicroTimeProvider |
UniqueMicroTimeProvider.provider(TimeProvider provider)
Sets the underlying time provider for this instance and initializes the last time value.
|
Copyright © 2024. All rights reserved.