public class MonitoredListenerInvoker extends Object implements com.atlassian.event.spi.ListenerInvoker
ListenerInvoker that detects when slow event listeners and raises an event when the
listener is too slow.| Constructor and Description |
|---|
MonitoredListenerInvoker(EventSystemMonitor monitor,
AlertTrigger trigger,
com.atlassian.event.spi.ListenerInvoker delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<String> |
getScope() |
Set<Class<?>> |
getSupportedEventTypes() |
int |
hashCode() |
void |
invoke(Object event) |
boolean |
supportAsynchronousEvents() |
String |
toString() |
public MonitoredListenerInvoker(EventSystemMonitor monitor, AlertTrigger trigger, com.atlassian.event.spi.ListenerInvoker delegate)
public Optional<String> getScope()
getScope in interface com.atlassian.event.spi.ListenerInvokerpublic Set<Class<?>> getSupportedEventTypes()
getSupportedEventTypes in interface com.atlassian.event.spi.ListenerInvokerpublic void invoke(Object event)
invoke in interface com.atlassian.event.spi.ListenerInvokerpublic boolean supportAsynchronousEvents()
supportAsynchronousEvents in interface com.atlassian.event.spi.ListenerInvokerCopyright © 2017–2019 Atlassian. All rights reserved.