public interface ExecutorEventSupport extends Externalizable
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(AsynchronousJobListener listener) |
void |
clear() |
void |
fireAfterJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireAfterJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireAfterJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobCancelled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobExecuted(org.kie.api.executor.RequestInfo job,
Throwable exception) |
void |
fireBeforeJobScheduled(org.kie.api.executor.RequestInfo job,
Throwable exception) |
List<AsynchronousJobListener> |
getEventListeners() |
boolean |
isEmpty() |
void |
notifyAllListeners(Consumer<AsynchronousJobListener> consumer) |
void |
removeEventListener(AsynchronousJobListener listener) |
void |
removeEventListener(Class cls) |
int |
size() |
readExternal, writeExternal
void notifyAllListeners(Consumer<AsynchronousJobListener> consumer)
void addEventListener(AsynchronousJobListener listener)
void removeEventListener(Class cls)
void removeEventListener(AsynchronousJobListener listener)
List<AsynchronousJobListener> getEventListeners()
int size()
boolean isEmpty()
void clear()
void fireBeforeJobScheduled(org.kie.api.executor.RequestInfo job, Throwable exception)
void fireBeforeJobExecuted(org.kie.api.executor.RequestInfo job, Throwable exception)
void fireBeforeJobCancelled(org.kie.api.executor.RequestInfo job, Throwable exception)
void fireAfterJobScheduled(org.kie.api.executor.RequestInfo job, Throwable exception)
void fireAfterJobExecuted(org.kie.api.executor.RequestInfo job, Throwable exception)
void fireAfterJobCancelled(org.kie.api.executor.RequestInfo job, Throwable exception)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.