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 Details

  • Constructor Details

    • JsonloggerConfiguration

      public JsonloggerConfiguration()
  • Method Details

    • getConfigName

      public String getConfigName()
    • getTimers

      public ConcurrentHashMap<String,Long> getTimers()
    • setTimers

      public void setTimers(ConcurrentHashMap<String,Long> timers)
    • printTimersKeys

      public void printTimersKeys()
    • getCachedTimerTimestamp

      public Long getCachedTimerTimestamp(String key, Long initialTimeStamp) throws Exception
      Throws:
      Exception
    • removeCachedTimerTimestamp

      public void removeCachedTimerTimestamp(String key)
    • setExternalDestination

      public void setExternalDestination(Destination externalDestination)
      Init configs singleton
    • getExternalDestination

      public Destination getExternalDestination()
    • initialise

      public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Specified by:
      initialise in interface org.mule.runtime.api.lifecycle.Initialisable
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.mule.runtime.api.lifecycle.Disposable