Package org.jgrapes.core.internal
Class EventProcessor
java.lang.Object
org.jgrapes.core.internal.EventProcessor
- All Implemented Interfaces:
Runnable
,Components.IdInfoProvider
This class provides the default implementation of an
EventPipeline
.-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ThreadLocal
<EventBase<?>> protected final Queue
<EventChannelsTuple> -
Method Summary
Modifier and TypeMethodDescription<T extends Event<?>>
Tvoid
default Class
<?> idScope()
All pipelines use the same id scope to make them uniquely identifiable by their number.void
merge
(org.jgrapes.core.internal.InternalEventPipeline other) void
run()
toString()
protected org.jgrapes.core.internal.ComponentTree
tree()
Gets the component tree.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jgrapes.core.Components.IdInfoProvider
idObject
-
Field Details
-
newEventsParent
-
queue
-
-
Method Details
-
tree
Gets the component tree.- Returns:
- the component tree
-
add
-
merge
-
run
-
executorService
-
awaitExhaustion
- Throws:
InterruptedException
-
toString
-
idScope
All pipelines use the same id scope to make them uniquely identifiable by their number.- Specified by:
idScope
in interfaceComponents.IdInfoProvider
- Returns:
- the scope
-