| Constructor and Description |
|---|
HandlerTask(EventHandlerProxy task,
org.osgi.service.event.Event event,
long timeout,
DenylistLatch handlerLatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForDenylist()
Check to see if we need to deny this handler
|
void |
run()
Run Hander Event
|
void |
runWithoutDenylistTiming() |
boolean |
useTimeout()
This method defines if a timeout handling should be used for the
task.
|
public HandlerTask(EventHandlerProxy task, org.osgi.service.event.Event event, long timeout, DenylistLatch handlerLatch)
task - Proxy to the event handlerevent - The event to send to the handlertimeout - Timeout for handler denyinghandlerLatch - The latch used to ensure events fire in proper orderpublic void runWithoutDenylistTiming()
public boolean useTimeout()
public void checkForDenylist()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.