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
FieldsModifier and TypeFieldDescriptionprotected static final ThreadLocal<EventBase<?>> protected final Queue<EventChannelsTuple> -
Method Summary
Modifier and TypeMethodDescription<T extends Event<?>>
Tvoiddefault Class<?> idScope()All pipelines use the same id scope to make them uniquely identifiable by their number.voidmerge(org.jgrapes.core.internal.InternalEventPipeline other) voidrun()toString()protected org.jgrapes.core.internal.ComponentTreetree()Gets the component tree.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
idScopein interfaceComponents.IdInfoProvider- Returns:
- the scope
-