Overview
Module
Package
Type
Tree
Deprecated
Index
Prev Type
Next Type
All Types
Summary:
Actio
|
Capac
|
Constr
|
Handl
|
Field
|
Nested
|
Propr
Details:
Actio
|
Constr
|
Handl
|
Field
|
Propr
io.sarl.sre.janus.services.executor
Class VerboseThreadExecutorPolicy
java.lang.Object
AbstractThreadExecutorPolicy
AbstractLoggingThreadExecutorPolicy
VerboseThreadExecutorPolicy
All Superinterfaces:
java.lang.Thread.UncaughtExceptionHandler
,
java.util.concurrent.RejectedExecutionHandler
@
javax.inject.Singleton
class
VerboseThreadExecutorPolicy
extends
AbstractLoggingThreadExecutorPolicy
A handler for rejected tasks and uncaught exceptions that logs a warning on the platform logger when a task is rejected, and an error for each uncaught exception.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
See:
java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
Field Summary
Inherited:
logger
Action Summary
All actions
Instance actions
Modifier and type
Action and description
void
rejectedExecution(Runnable,ThreadPoolExecutor)
void
uncaughtException(Thread,Throwable)
Modifier and type
Action and description
void
rejectedExecution(Runnable,ThreadPoolExecutor)
void
uncaughtException(Thread,Throwable)
Inherited:
log(Throwable,String,String)
,
runRejectedTask(Runnable,ThreadPoolExecutor)
Action Details
rejectedExecution(Runnable,ThreadPoolExecutor)
def
rejectedExecution(Runnable,ThreadPoolExecutor)
uncaughtException(Thread,Throwable)
def
uncaughtException(Thread,Throwable)