@Singleton public abstract class AbstractLoggingThreadExecutorPolicy extends AbstractThreadExecutorPolicy
Constructor and Description |
---|
AbstractLoggingThreadExecutorPolicy(logger : Logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
log(exception : Throwable,
taskId : String,
taskName : String)
Log the given error.
|
rejectedExecution, runRejectedTask
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
uncaughtException
protected val
logger : Logger
public new
(logger : Logger)
logger
- the logging service that must be used for output the errors.protected final def
log(exception : Throwable,
taskId : String,
taskName : String) : void
AbstractLoggingThreadExecutorPolicy
exception
- the error.taskId
- the identifier of the task.taslName
- the name of the task.Copyright © 2021 the original authors or authors.