Class EndOfBatchResolver
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.resolver.EndOfBatchResolver
-
- All Implemented Interfaces:
EventResolver
,TemplateResolver<LogEvent>
public final class EndOfBatchResolver extends java.lang.Object implements EventResolver
endOfBatch
indicator resolver.
-
-
Field Summary
Fields Modifier and Type Field Description private static EndOfBatchResolver
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EndOfBatchResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static EndOfBatchResolver
getInstance()
(package private) static java.lang.String
getName()
void
resolve(LogEvent logEvent, JsonWriter jsonWriter)
Resolves the givenvalue
using the providedJsonWriter
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.logging.log4j.layout.template.json.resolver.TemplateResolver
isFlattening, isResolvable, isResolvable, resolve
-
-
-
-
Field Detail
-
INSTANCE
private static final EndOfBatchResolver INSTANCE
-
-
Method Detail
-
getInstance
static EndOfBatchResolver getInstance()
-
getName
static java.lang.String getName()
-
resolve
public void resolve(LogEvent logEvent, JsonWriter jsonWriter)
Description copied from interface:TemplateResolver
Resolves the givenvalue
using the providedJsonWriter
.- Specified by:
resolve
in interfaceTemplateResolver<LogEvent>
-
-