Class ChainsawEventBatch

java.lang.Object
org.apache.log4j.chainsaw.ChainsawEventBatch

class ChainsawEventBatch extends Object
A container class that contains a group of events split up into branches based on Identifiers
  • Field Details

    • identEventMap

      private Map<String,List<org.apache.log4j.spi.LoggingEvent>> identEventMap
  • Constructor Details

    • ChainsawEventBatch

      ChainsawEventBatch()
  • Method Details

    • addEvent

      void addEvent(String ident, org.apache.log4j.spi.LoggingEvent e)
      Parameters:
      ident -
      e -
    • identifierIterator

      Iterator<String> identifierIterator()
      Returns an iterator of Identifier strings that this payload contains.

      The values returned from this iterator can be used to query the

      Returns:
      Iterator
    • entrySet

      List<org.apache.log4j.spi.LoggingEvent> entrySet(String identifier)
      Returns a Collection of LoggingEvent objects that are bound to the identifier
      Parameters:
      identifier -
      Returns:
      Collection of LoggingEvent instances