| Package | Description |
|---|---|
| org.sodeac.common.message.dispatcher.api |
Provides an API for eventdispatcher.
|
| org.sodeac.common.message.dispatcher.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IChannelService
Interface to register
IChannelTask |
interface |
IOnTaskStop
extension interface for
IChannelTask to facilitate prevention of deadlocks and inconsistent data structures in result of Thread.stop() |
interface |
IPeriodicChannelTask
An extenstion interface for
IChannelTask. |
| Modifier and Type | Method and Description |
|---|---|
IChannelTask |
IChannel.getTask(String id)
returns
IChannelTask scheduled under registration id |
IChannelTask |
IChannel.removeTask(String id)
remove
IChannelTask scheduled under registration id |
IChannelTask |
IChannel.rescheduleTask(String id,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut)
reset execution plan for an existing
IChannelTask |
| Modifier and Type | Method and Description |
|---|---|
List<IChannelTask> |
IChannelTaskContext.currentProcessedTaskList()
getter for current processing task list
|
| Modifier and Type | Method and Description |
|---|---|
void |
IOnTaskDone.onTaskDone(IChannel channel,
IChannelTask task)
|
default void |
IFeatureConfigurableController.onTaskDone(IChannel channel,
IChannelTask task) |
void |
IOnTaskError.onTaskError(IChannel queue,
IChannelTask task,
Throwable throwable)
This methode is fired, if
IChannelTask throws an exception or an error
invoked and synchronized by queue worker |
default void |
IFeatureConfigurableController.onTaskError(IChannel channel,
IChannelTask task,
Throwable throwable) |
default void |
IFeatureConfigurableController.onTaskTimeout(IChannel channel,
IChannelTask task) |
void |
IOnTaskTimeout.onTaskTimeout(IChannel channel,
IChannelTask task)
This is fired, if
IChannelTask runs in timeout. |
String |
IChannel.scheduleTask(IChannelTask task)
schedule a anonymous
IChannelTask to IChannel
equivalent to scheduleTask(null,task, null, -1, -1, -1); |
String |
IChannel.scheduleTask(String id,
IChannelTask task)
schedule a
IChannelTask to IChannel. |
String |
IChannel.scheduleTask(String id,
IChannelTask task,
IPropertyBlock propertyBlock,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut)
schedule a
IChannelTask to IChannel. |
String |
IChannel.scheduleTask(String id,
IChannelTask task,
IPropertyBlock propertyBlock,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut,
boolean stopOnTimeOut)
schedule a
IChannelTask to IChannel. |
| Modifier and Type | Method and Description |
|---|---|
IChannelTask |
TaskContainer.getTask() |
IChannelTask |
ChannelImpl.getTask(String id) |
IChannelTask |
ChannelImpl.removeTask(String id) |
IChannelTask |
ChannelImpl.rescheduleTask(String id,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut) |
| Modifier and Type | Method and Description |
|---|---|
List<IChannelTask> |
ChannelTaskContextImpl.currentProcessedTaskList() |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageDispatcherImpl.executeOnTaskStopExecuter(ChannelWorker worker,
IChannelTask task) |
protected void |
MessageDispatcherImpl.executeOnTaskTimeOut(IOnTaskTimeout manager,
IChannel<?> channel,
IChannelTask task) |
String |
ChannelImpl.scheduleTask(IChannelTask task) |
String |
ChannelImpl.scheduleTask(String id,
IChannelTask task) |
String |
ChannelImpl.scheduleTask(String id,
IChannelTask task,
IPropertyBlock propertyBlock,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut) |
String |
ChannelImpl.scheduleTask(String id,
IChannelTask task,
IPropertyBlock propertyBlock,
long executionTimeStamp,
long timeOutValue,
long heartBeatTimeOut,
boolean stopOnTimeOut) |
void |
TaskContainer.setTask(IChannelTask task) |
Copyright © 2020. All rights reserved.