Annotation Type CpsVmThreadOnly
-
@Target({METHOD,CONSTRUCTOR}) public @interface CpsVmThreadOnly
Indicates that the method is only meant to be called by a thread that runsCpsThreadGroup.runner
There are two patterns of this.
- Method on
CpsThreadGroup
that mutates its internal state. Marked as "root" - Methods elsewhere that calls methods that have
CpsVmThreadOnly
.
- Author:
- Kohsuke Kawaguchi
- See Also:
CpsVmExecutorService
,CpsThreadGroup.assertVmThread()
- Method on
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-