com.neeve.event
Class EventMultiplexerPassThrough
java.lang.Object
com.neeve.root.RootObject
com.neeve.event.EventObject
com.neeve.event.EventMultiplexer
com.neeve.event.EventMultiplexerPassThrough
- All Implemented Interfaces:
- IEventHandler, IEventMultiplexer
public final class EventMultiplexerPassThrough
- extends EventMultiplexer
Pass through event multiplexer.
In a pass through multiplexer, the threads carrying the events from the
sources pass directly and concurrently through the multiplexer. It
should be noted that a fundamental tenet of a multiplexer is that the
registered event handler cannot be concurrently invoked. Therefore,
implicit in the semantic of this multiplexer implementation is the
assumption that the caller will not be concurrently multiplexing events
through the multiplexer.
- Threading:
- This class is safe for concurrent access by multiple threads.
create
public static IEventMultiplexer create(String name,
boolean administrative,
IEventHandler eventHandler,
Properties props)
- Create a pass through event multiplexer.
- Parameters:
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. The pass through multiplexer does not currently support any
properties for its use.
getStats
public final IEventMultiplexerStats getStats()
- Implementation of
IEventMultiplexer.getStats()
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.