Package org.apache.logging.log4j.message
Class ParameterFormatter.MessagePatternAnalysis
- java.lang.Object
-
- org.apache.logging.log4j.message.ParameterFormatter.MessagePatternAnalysis
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ParameterFormatter
static final class ParameterFormatter.MessagePatternAnalysis extends java.lang.Object implements java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanescapedCharFoundFlag indicating if an escaped (i.e., `\`-prefixed) character is found.private static intPLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZEThe size of theplaceholderCharIndicesbuffer to be allocated if it is found to be null.private static intPLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENTThe sizeplaceholderCharIndicesbuffer will be extended with if it has found to be insufficient.(package private) int[]placeholderCharIndicesThe array of indices pointing to the first character of the found argument placeholder occurrences.(package private) intplaceholderCountThe total number of argument placeholder occurrences.private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description MessagePatternAnalysis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidensurePlaceholderCharIndicesCapacity(int argCount)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE
private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE
The size of theplaceholderCharIndicesbuffer to be allocated if it is found to be null.- See Also:
- Constant Field Values
-
PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT
private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT
The sizeplaceholderCharIndicesbuffer will be extended with if it has found to be insufficient.- See Also:
- Constant Field Values
-
placeholderCount
int placeholderCount
The total number of argument placeholder occurrences.
-
placeholderCharIndices
int[] placeholderCharIndices
The array of indices pointing to the first character of the found argument placeholder occurrences.
-
escapedCharFound
boolean escapedCharFound
Flag indicating if an escaped (i.e., `\`-prefixed) character is found.
-
-