public class PoolingGelfMessageBuilder extends GelfMessageBuilder
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_USE_POOLING
Can be
static (default value) for static held pools
true for using instance-based held pools
false to disable pooling
|
additionalFields, additionalFieldTypes, dynamicMdcFieldTypes, facility, fullMessage, host, javaTimestamp, level, maximumMessageSize, shortMessage, version
Modifier and Type | Method and Description |
---|---|
GelfMessage |
build()
Build a new Gelf message based on the builder settings.
|
static PoolingGelfMessageBuilder |
newInstance()
Creates a new instance of the GelfMessageBuilder.
|
GelfMessageBuilder |
recycle()
Recycle this
GelfMessageBuilder to a default state. |
static boolean |
usePooling() |
withAdditionalFieldTypes, withDynamicMdcFieldTypes, withFacility, withField, withFields, withFullMessage, withHost, withJavaTimestamp, withLevel, withMaximumMessageSize, withShortMessage, withVersion
public static final String PROPERTY_USE_POOLING
public static PoolingGelfMessageBuilder newInstance()
public static boolean usePooling()
public GelfMessageBuilder recycle()
GelfMessageBuilder
to a default state.this
GelfMessageBuilder
public GelfMessage build()
build
in class GelfMessageBuilder
Copyright © 2013–2023. All rights reserved.