org.apache.logging.log4j.core.appender.db

Class AbstractDatabaseManager.AbstractFactoryData

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


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

      • AbstractFactoryData

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

      • getBufferSize

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

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

Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.