Class AbstractDatabaseManager.AbstractFactoryData

  • Enclosing class:
    AbstractDatabaseManager

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

      Constructors 
      Modifier Constructor Description
      protected AbstractFactoryData​(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
      int getBufferSize()
      Gets the buffer size.
      Layout<? extends java.io.Serializable> getLayout()
      Gets the layout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.