org.qi4j.library.scheduler.timeline
Class TimelineRecorderService.Mixin
java.lang.Object
org.qi4j.library.scheduler.timeline.TimelineRecorderService.Mixin
- All Implemented Interfaces:
- Composite, Identity, ServiceComposite, TimelineRecorderService
- Enclosing interface:
- TimelineRecorderService
public abstract static class TimelineRecorderService.Mixin
- extends Object
- implements TimelineRecorderService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimelineRecorderService.Mixin
public TimelineRecorderService.Mixin()
recordSuccess
public TimelineRecord recordSuccess(Task task)
- Specified by:
recordSuccess
in interface TimelineRecorderService
- Parameters:
task
- Successful Task
- Returns:
- TimelineRecord
recordFailure
public TimelineRecord recordFailure(Task task,
Throwable cause)
- Description copied from interface:
TimelineRecorderService
- Record a
Task
failure.
Use the cause stacktrace as record details.
- Specified by:
recordFailure
in interface TimelineRecorderService
- Parameters:
task
- Failed Taskcause
- Failure cause
- Returns:
- TimelineRecord