Class AmqpAppender.Event

  • Enclosing class:
    AmqpAppender

    protected static class AmqpAppender.Event
    extends java.lang.Object
    Helper class to encapsulate a LoggingEvent, its MDC properties, and the number of retries.
    • Constructor Summary

      Constructors 
      Constructor Description
      Event​(org.apache.logging.log4j.core.LogEvent event, java.util.Map<?,​?> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.logging.log4j.core.LogEvent getEvent()  
      java.util.Map<?,​?> getProperties()  
      int incrementRetries()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Event

        public Event​(org.apache.logging.log4j.core.LogEvent event,
                     java.util.Map<?,​?> properties)
    • Method Detail

      • getEvent

        public org.apache.logging.log4j.core.LogEvent getEvent()
      • getProperties

        public java.util.Map<?,​?> getProperties()
      • incrementRetries

        public int incrementRetries()