@Beta public class DeadEvent extends java.lang.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(java.lang.Object source,
java.lang.Object event)
Creates a new DeadEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getEvent()
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
subscriber.
|
java.lang.Object |
getSource()
Returns the object that originated this event (not the object that originated the
wrapped event).
|
java.lang.String |
toString() |
public java.lang.Object getSource()
EventBus
.public java.lang.Object getEvent()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010–2020 JBoss by Red Hat. All rights reserved.