| 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 | Method and Description |
|---|---|
HandlerPriority |
HandlerPriority.alias()
Returns the effective priority for the handler.
|
default @NotNull HandlerPriority |
EventHandler.priority()
Returns the priority level of this event handler within the event loop.
|
@NotNull HandlerPriority |
CancellableTimer.ScheduledEventHandler.priority() |
static HandlerPriority |
HandlerPriority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerPriority[] |
HandlerPriority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.