public final class EventMultiplexerSingleThreaded extends EventMultiplexer
In a single threaded event multiplexer, all events are dispatched by a single same thread i.e. the source threads handoff their events to the single dispatcher thread (via the multiplexer event queue) for onward dispatch.
IEventMultiplexer.StatecaptureEventLatencyStatsNON_BLOCKING| Modifier and Type | Method and Description |
|---|---|
static IEventMultiplexer |
create(String name,
boolean administrative,
IEventHandler eventHandler,
Properties props)
Create a single threaded event multiplexer.
|
IEventMultiplexerStats |
getStats()
Implementation of
IEventMultiplexer.getStats() |
close, getName, multiplexEvent, onEvent, onEvent, open, scheduledEventCount, scheduleEvent, setAllEventDispatch, unscheduleEventgetChecked, getThreaded, getTracer, setChecked, setTracerpublic static IEventMultiplexer create(String name, boolean administrative, IEventHandler eventHandler, Properties props)
name - The event multiplexer's nameadministrative - Whether this multiplexer is an administrative one
i.e. not subject to auto performance tuning.eventHandler - The dispatch event handler i.e. the event handler
through which multiplexed events are dispatched.props - A set of properties that qualify the behavior multiplexer
behavior. See the constructor documentation for the set of properties
supported by a sungle threaded event multiplexer.public final IEventMultiplexerStats getStats()
IEventMultiplexer.getStats()Copyright © 2019 Neeve Research, LLC. All Rights Reserved.