Package civitas.celestis.event.lifecycle
Class SyncEventManager
java.lang.Object
java.lang.Thread
civitas.celestis.event.lifecycle.EventThread
civitas.celestis.event.lifecycle.SyncEventManager
- All Implemented Interfaces:
EventManager,Module,Runnable
A synchronous event manager with one processing thread, (the manager itself)
one event queue, and one list of event handlers. All core logic is inherited
from
EventThread.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.BuilderPREVIEW, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new synchronous event manager.SyncEventManager(PrintStream printStream) Creates a new synchronous event manager. -
Method Summary
Methods inherited from class civitas.celestis.event.lifecycle.EventThread
call, initialize, priorityCall, register, register, terminate, unregister, unregisterMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
SyncEventManager
public SyncEventManager()Creates a new synchronous event manager. -
SyncEventManager
Creates a new synchronous event manager.- Parameters:
printStream- The print stream to print error messages to
-