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 java.lang.ObjectImplementations should extend this class for passing data between the getManager method and the manager factory class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFactoryData(int bufferSize, Layout<? extends java.io.Serializable> layout)Constructs the base factory data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBufferSize()Gets the buffer size.Layout<? extends java.io.Serializable>getLayout()Gets the layout.
-
-
-
Constructor Detail
-
AbstractFactoryData
protected AbstractFactoryData(int bufferSize, Layout<? extends java.io.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 java.io.Serializable> getLayout()
Gets the layout.- Returns:
- the layout.
-
-