Class AbstractDatabaseManager.AbstractFactoryData

java.lang.Object
org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
Enclosing class:
AbstractDatabaseManager

protected abstract static class AbstractDatabaseManager.AbstractFactoryData extends AbstractManager.AbstractFactoryData
Implementations should extend this class for passing data between the getManager method and the manager factory class.
  • Constructor Details

    • AbstractFactoryData

      protected AbstractFactoryData(int bufferSize, Layout<? extends Serializable> layout)
      Constructs the base factory data.
      Parameters:
      bufferSize - The size of the buffer.
      layout - The appender-level layout
    • AbstractFactoryData

      protected AbstractFactoryData(Configuration configuration, int bufferSize, Layout<? extends Serializable> layout)
      Constructs the base factory data.
      Parameters:
      configuration - Configuration creating this instance.
      bufferSize - The size of the buffer.
      layout - The appender-level layout
  • Method Details

    • getBufferSize

      public int getBufferSize()
      Gets the buffer size.
      Returns:
      the buffer size.
    • getLayout

      public Layout<? extends Serializable> getLayout()
      Gets the layout.
      Returns:
      the layout.