org.apache.logging.log4j.util

Annotation Type PerformanceSensitive



  • @Retention(value=CLASS)
    public @interface PerformanceSensitive
    Indicates that a particular annotated construct was written with certain performance constraints in mind that should be considered when modifying or testing. Descriptive values should be similar to the conventions used by SuppressWarnings. For example, code that should not be allocating objects (like iterators) could use the description "allocation".
    Since:
    2.6
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      String[] value
      Description of why this is written the way it is.
    • Element Detail

      • value

        public abstract String[] value
        Description of why this is written the way it is.
        Default:
        ""

Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.