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
endOfBatchindicator resolver.
-
-
Field Summary
Fields Modifier and Type Field Description private static EndOfBatchResolverINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateEndOfBatchResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static EndOfBatchResolvergetInstance()(package private) static java.lang.StringgetName()voidresolve(LogEvent logEvent, JsonWriter jsonWriter)Resolves the givenvalueusing 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:TemplateResolverResolves the givenvalueusing the providedJsonWriter.- Specified by:
resolvein interfaceTemplateResolver<LogEvent>
-
-