See: Description
| Interface | Description |
|---|---|
| EventHandler |
Represents a handler for events within an event loop.
|
| EventLoop |
EventLoop represents an event-driven loop responsible for processing event handlers.
|
| VanillaEventHandler |
Represents an event handler that performs actions within an event loop.
|
| Class | Description |
|---|---|
| CancellableTimer |
A timer that can schedule tasks to be executed periodically or after a delay.
|
| CancellableTimer.ScheduledEventHandler | |
| CleaningThread |
The CleaningThread class extends the Thread class and provides functionality
to clean up thread-local variables when the thread completes its execution.
|
| CleaningThreadLocal<T> |
The CleaningThreadLocal class extends ThreadLocal and ensures that the resources held by
a CleaningThread are cleaned up if the thread dies.
|
| DelegatingEventLoop | |
| OnDemandEventLoop |
A wrapper for an
EventLoop which is created on demand when any of its methods are called. |
| ThreadDump |
Utility class for monitoring and managing threads.
|
| ThreadLocalHelper |
A utility class for managing values in a
ThreadLocal. |
| Timer |
Timer class used to schedule tasks to be executed periodically or after a certain delay.
|
| Enum | Description |
|---|---|
| HandlerPriority |
Enum representing different priority levels for event handlers in an event loop.
|
| Exception | Description |
|---|---|
| InterruptedRuntimeException |
A runtime exception representing interruption of a thread.
|
| InvalidEventHandlerException |
Represents an exception that is thrown when an event handler is invalid or
needs to be removed from an event loop.
|
Key classes and interfaces:
CancellableTimer: A timer that can
schedule tasks for periodic execution or execution after a delay.CleaningThread: Extends the Thread
class to clean up thread-local variables when the thread completes its execution.CleaningThreadLocal: Extends
ThreadLocal and ensures that resources held by a CleaningThread are cleaned
up when the thread dies.DelegatingEventLoop: An implementation
of EventLoop that delegates calls to an underlying EventLoop instance. Useful as a base
class for custom implementations.EventHandler: Interface representing
a handler for events within an event loop.EventLoop: Represents an event-driven
loop responsible for processing event handlers based on their priority.HandlerPriority: Enum representing
different priority levels for event handlers in an event loop.InterruptedRuntimeException: A runtime
exception representing the interruption of a thread.InvalidEventHandlerException: Represents
an exception thrown when an event handler is invalid or needs to be removed.OnDemandEventLoop: A wrapper for an
EventLoop, which is created on-demand when any of its methods are called.ThreadDump: Utility class for monitoring
and managing threads.ThreadLocalHelper: A utility class for
managing values in a ThreadLocal.Timer: A timer used to schedule tasks
for periodic execution or execution after a delay.VanillaEventHandler: Represents an event
handler that performs actions within an event loop.Thread,
ThreadLocalCopyright © 2024. All rights reserved.