| 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 | Interface and Description |
|---|---|
interface |
EventHandler
Represents a handler for events within an event loop.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CancellableTimer.ScheduledEventHandler |
| Modifier and Type | Method and Description |
|---|---|
Closeable |
CancellableTimer.scheduleAtFixedRate(@NotNull VanillaEventHandler eventHandler,
long initialDelayMs,
long periodMs)
uses the event loop thread to call the event handler periodically, the time that the event is
called back is best-effort, but if the thread is busy that call back maybe delayed
|
void |
Timer.scheduleAtFixedRate(@NotNull VanillaEventHandler eventHandler,
long initialDelayMs,
long periodMs)
uses the event loop thread to call the event handler periodically, the time that the event is
called back is best-effort, but if the thread is busy that call back maybe delayed
|
Closeable |
CancellableTimer.scheduleAtFixedRate(@NotNull VanillaEventHandler eventHandler,
long initialDelayMs,
long periodMs,
HandlerPriority priority)
uses the event loop thread to call the event handler periodically, the time that the event is
called back is best-effort, but if the thread is busy that call back maybe delayed
|
void |
Timer.scheduleAtFixedRate(@NotNull VanillaEventHandler eventHandler,
long initialDelayMs,
long periodMs,
HandlerPriority priority)
uses the event loop thread to call the event handler periodically, the time that the event is
called back is best-effort, but if the thread is busy that call back maybe delayed
|
Copyright © 2024. All rights reserved.