Package org.opennms.netmgt.events.api
Interface ThreadAwareEventListener
-
- All Known Implementing Classes:
Alarmd
,AnnotationBasedEventListenerAdapter
,OpennmsKafkaProducer
public interface ThreadAwareEventListener
Optional interface which can be implemented by event listeners (and annotated event listeners) in order to request the event callbacks to be invoked using multiple threads. If this interface is not present (and not threads are set in the case of an annotated listener), then the callbacks will be performed using a single thread.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumThreads()
-