| Interface | Description |
|---|---|
| ReportingExecutorService |
This interface defines a contract for
ExecutorServices that makes them call a
"reporting" method whenever an important event occurs.This way a child class extending these kind of ExecutorServices can "hook" into these
events by overriding the specific method and add additional logic like logging or debugging capabilities. |
| SilentScheduledExecutorService |
This interface extends the
ScheduledExecutorService by providing additional methods to enqueue tasks without
throwing a RejectedExecutionException exception.This can be useful when preventing additional tasks to run is no error but an intended design decision in the implementing class. |
| TaskService |
A task service is a task which is run by a service.
|
| Class | Description |
|---|---|
| BoundedScheduledExecutorService |
This class represents a
SilentScheduledExecutorService that accepts only a pre-defined amount of tasks that
can be queued or executed at the same time. |
| DedicatedScheduledExecutorService |
This class represents a
ScheduledExecutorService that is associated with one specific task for which it
provides automatic logging capabilitiesIt informs the user about its lifecycle using the logback loggers used by IRI. |
| TaskDetails |
This class represents a container for the metadata of a task that was scheduled through an
ExecutorService that implements the ReportingExecutorService interface.It can for example be used to show detailed log messages or even implement more sophisticated features like the BoundedScheduledExecutorService. |
| ThreadIdentifier |
The instances of this class are used by the
ThreadUtils to map the Threads and make the corresponding
spawn and stop methods thread safe. |
| ThreadUtils |
This class contains a collection of methods that make the management of
Threads a little bit more convenient. |
| UnboundScheduledExecutorService |
This class represents a
SilentScheduledExecutorService that accepts only a pre-defined amount of tasks that
can be queued or executed at the same time. |
Copyright © 2019. All rights reserved.