| Package | Description |
|---|---|
| net.openhft.chronicle.core.threads |
Provides classes and interfaces for thread management and scheduling in an
event-driven programming model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingEventLoop
|
class |
OnDemandEventLoop
A wrapper for an
EventLoop which is created on demand when any of its methods are called. |
| Modifier and Type | Field and Description |
|---|---|
@NotNull EventLoop |
DelegatingEventLoop.inner |
| Modifier and Type | Method and Description |
|---|---|
default void |
EventHandler.eventLoop(EventLoop eventLoop)
This method is called once when it is added to an eventLoop, which might be before the EventLoop has started
This could be called in any thread.
|
| Constructor and Description |
|---|
CancellableTimer(@NotNull EventLoop eventLoop)
Constructs a CancellableTimer with the given event loop and system time provider.
|
CancellableTimer(@NotNull EventLoop eventLoop,
@NotNull TimeProvider timeProvider)
Constructs a CancellableTimer with the given event loop and custom time provider.
|
DelegatingEventLoop(@NotNull EventLoop eventLoop)
Constructs a new
DelegatingEventLoop instance that delegates to the specified
EventLoop. |
Timer(@NotNull EventLoop eventLoop)
Constructs a Timer with the default system time provider.
|
Timer(@NotNull EventLoop eventLoop,
@NotNull TimeProvider timeProvider)
Constructs a Timer with a specified time provider.
|
Copyright © 2024. All rights reserved.