Package fr.gouv.vitam.common.thread
Vitam Thread package facility
-
Class Summary Class Description ExecutorUtils RunWithCustomExecutorRule Junit Test rule used to run tests with a givenExecutor
; such tests should be annotated with theRunWithCustomExecutor
annotation.VitamThreadFactory Simple ThreadFactory setting Threads to be Daemon threads (do not prevent shutdown) ; in addition, creates VitamThread allowing us to put session information in those threads.VitamThreadFactory.VitamThread Vitam Thread implementation ; mainly used to attach a threadlocal session to it.VitamThreadPoolExecutor VitamThreadUtils Utility to get access to VitamSession of the current Thread -
Annotation Types Summary Annotation Type Description RunWithCustomExecutor Junit Test method annotation used to run the associated test in a specific Thread (RunWithCustomExecutorRule
.