Annotation Type ExecutorThreadName


  • @Inherited
    @Target(TYPE)
    @Retention(SOURCE)
    public @interface ExecutorThreadName

    Generates a Jeyzer analysis pattern executor thread name entry.
    Examples :

    <executor_thread_name name="HTTP request processor" pattern_regex="HTTP worker.*" priority="500" />
    <executor_thread_name name="HTTP request processor" pattern="HTTP worker" priority="500" />

    Pattern entry is generated in the jeyzer_patterns.xml file located in the jeyzer directory under the target/generated-sources build directory.
    If file creation is not possible there, file will be created under the standard generated source code directory.

    Pattern executor thread name attributes are :

    • Name. It is provided as mandatory annotation attribute.
    • Thread name pattern or regular expression. It is provided as mandatory annotation attribute.
    • Priority. It is optional. If specified, value must be set between 101 and 1000.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      The executor_thread_name name.
      String pattern
      The executor_thread_name pattern.
      String patternRegex
      The executor_thread_name regex pattern.
      int priority
      The executor_thread_name priority.
    • Element Detail

      • name

        String name
        The executor_thread_name name. Mandatory
        Returns:
        the name
        Default:
        ""
      • pattern

        String pattern
        The executor_thread_name pattern. This field or the patternRegex one must be set.
        Returns:
        the thread name pattern
        Default:
        ""
      • patternRegex

        String patternRegex
        The executor_thread_name regex pattern. This field or the pattern one must be set.
        Returns:
        the thread name regex pattern
        Default:
        ""
      • priority

        int priority
        The executor_thread_name priority. Optional
        Returns:
        the priority
        Default:
        -1