Class JsonloggerConfiguration
java.lang.Object
org.mule.extension.jsonlogger.api.pojos.LoggerConfig
org.mule.extension.jsonlogger.internal.JsonloggerConfiguration
- All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Disposable,org.mule.runtime.api.lifecycle.Initialisable
@Operations(JsonloggerOperations.class)
public class JsonloggerConfiguration
extends LoggerConfig
implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
This class represents an extension configuration, values set in this class are commonly used across multiple
operations since they represent something core from the extension.
-
Field Summary
FieldsModifier and TypeFieldDescriptionTimer methods for Elapsed TimeFields inherited from interface org.mule.runtime.api.lifecycle.Disposable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()getCachedTimerTimestamp(String key, Long initialTimeStamp) voidvoidvoidvoidsetExternalDestination(Destination externalDestination) Init configs singletonvoidsetTimers(ConcurrentHashMap<String, Long> timers) Methods inherited from class org.mule.extension.jsonlogger.api.pojos.LoggerConfig
equals, getAdditionalProperties, getGlobalSettings, getJsonOutput, hashCode, setAdditionalProperty, setGlobalSettings, setJsonOutput, toString
-
Field Details
-
timers
Timer methods for Elapsed Time
-
-
Constructor Details
-
JsonloggerConfiguration
public JsonloggerConfiguration()
-
-
Method Details
-
getConfigName
-
getTimers
-
setTimers
-
printTimersKeys
public void printTimersKeys() -
getCachedTimerTimestamp
- Throws:
Exception
-
removeCachedTimerTimestamp
-
setExternalDestination
Init configs singleton -
getExternalDestination
-
initialise
public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException- Specified by:
initialisein interfaceorg.mule.runtime.api.lifecycle.Initialisable- Throws:
org.mule.runtime.api.lifecycle.InitialisationException
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.mule.runtime.api.lifecycle.Disposable
-