Package org.onosproject.event
Interface EventDeliveryService
-
- All Superinterfaces:
EventDispatcher
,EventSinkRegistry
public interface EventDeliveryService extends EventDispatcher, EventSinkRegistry
Abstraction of an entity capable of accepting events to be posted and then dispatching them to the appropriate event sink.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDispatchTimeLimit()
Returns the number of millis that an event sink has to process an event.void
setDispatchTimeLimit(long millis)
Sets the number of millis that an event sink has to process an event.-
Methods inherited from interface org.onosproject.event.EventDispatcher
post
-
Methods inherited from interface org.onosproject.event.EventSinkRegistry
addSink, getSink, getSinks, removeSink
-
-
-
-
Method Detail
-
setDispatchTimeLimit
void setDispatchTimeLimit(long millis)
Sets the number of millis that an event sink has to process an event.- Parameters:
millis
- number of millis allowed per sink per event
-
getDispatchTimeLimit
long getDispatchTimeLimit()
Returns the number of millis that an event sink has to process an event.- Returns:
- number of millis allowed per sink per event
-
-