@Beta public class DeadEvent extends Object
Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect misconfigurations in a system's event distribution.
Constructor and Description |
---|
DeadEvent(Object source,
Object event)
Creates a new DeadEvent.
|
Modifier and Type | Method and Description |
---|---|
Object |
getEvent()
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
subscriber.
|
Object |
getSource()
Returns the object that originated this event (not the object that originated the
wrapped event).
|
String |
toString() |
public Object getSource()
EventBus
.public Object getEvent()
Copyright © 2010-2016. All Rights Reserved.