Annotation Type ExcludeThreadName


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

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

    <exclude_thread_name name="Jeyzer archiver" pattern="Jeyzer-record-archiver" size="10" priority="500" />
    <exclude_thread_name name="Jeyzer archiver" pattern_regex="Jeyzer-record.*" size="10" 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 exclude 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.
    • Size. It is optional.
    • 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 exclude_thread_name name.
      String pattern
      The exclude_thread_name pattern.
      String patternRegex
      The exclude_thread_name regex pattern.
      int priority
      The exclude_thread_name priority.
      int size
      The exclude_thread_name size.
    • Element Detail

      • name

        String name
        The exclude_thread_name name. Optional
        Returns:
        the name
        Default:
        ""
      • pattern

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

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

        int size
        The exclude_thread_name size. Optional
        Returns:
        the size
        Default:
        -1
      • priority

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