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 Summary
ModifierConstructorDescriptionprotected
AbstractFactoryData
(int bufferSize, Layout<? extends Serializable> layout) Deprecated.protected
AbstractFactoryData
(Configuration configuration, int bufferSize, Layout<? extends Serializable> layout) Constructs the base factory data. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the buffer size.Layout<? extends Serializable>
Gets the layout.Methods inherited from class org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
getConfiguration
-
Constructor Details
-
AbstractFactoryData
Deprecated.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
Gets the layout.- Returns:
- the layout.
-
AbstractFactoryData(Configuration, int, Layout)
.