class BufferedAppender extends AbstractAppender

An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

Linear Supertypes
AbstractAppender, Appender, AbstractFilterable, Filterable, AbstractLifeCycle, LifeCycle2, LifeCycle, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferedAppender
  2. AbstractAppender
  3. Appender
  4. AbstractFilterable
  5. Filterable
  6. AbstractLifeCycle
  7. LifeCycle2
  8. LifeCycle
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addFilter(arg0: Filter): Unit
    Definition Classes
    AbstractFilterable → Filterable
  5. def append(event: LogEvent): Unit
    Definition Classes
    BufferedAppender → Appender
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buffer[T](f: ⇒ T): T
  8. def bufferQuietly[T](f: ⇒ T): T
  9. def clearBuffer(): Unit

    Clears buffered events and disables buffering.

  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def equalsImpl(arg0: Any): Boolean
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  14. def error(arg0: String, arg1: Throwable): Unit
    Definition Classes
    AbstractAppender
  15. def error(arg0: String, arg1: LogEvent, arg2: Throwable): Unit
    Definition Classes
    AbstractAppender
  16. def error(arg0: String): Unit
    Definition Classes
    AbstractAppender
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getFilter(): Filter
    Definition Classes
    AbstractFilterable → Filterable
  20. def getHandler(): ErrorHandler
    Definition Classes
    AbstractAppender → Appender
  21. def getLayout(): Layout[_ <: Serializable]
    Definition Classes
    AbstractAppender → Appender
  22. def getName(): String
    Definition Classes
    AbstractAppender → Appender
  23. def getState(): org.apache.logging.log4j.core.LifeCycle.State
    Definition Classes
    AbstractLifeCycle → LifeCycle
  24. def hasFilter(): Boolean
    Definition Classes
    AbstractFilterable → Filterable
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCodeImpl(): Int
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  27. def ignoreExceptions(): Boolean
    Definition Classes
    AbstractAppender → Appender
  28. def initialize(): Unit
    Definition Classes
    AbstractLifeCycle → LifeCycle
  29. def isFiltered(arg0: LogEvent): Boolean
    Definition Classes
    AbstractFilterable → Filterable
  30. def isInitialized(): Boolean
    Definition Classes
    AbstractLifeCycle
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isStarted(): Boolean
    Definition Classes
    AbstractLifeCycle → LifeCycle
  33. def isStarting(): Boolean
    Definition Classes
    AbstractLifeCycle
  34. def isStopped(): Boolean
    Definition Classes
    AbstractLifeCycle → LifeCycle
  35. def isStopping(): Boolean
    Definition Classes
    AbstractLifeCycle
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def play(): Unit

    Flushes the buffer to the delegate logger.

    Flushes the buffer to the delegate logger. This method calls logAll on the delegate so that the messages are written consecutively. The buffer is cleared in the process.

  40. def record(): Unit

    Enables buffering.

  41. def removeFilter(arg0: Filter): Unit
    Definition Classes
    AbstractFilterable → Filterable
  42. def setHandler(arg0: ErrorHandler): Unit
    Definition Classes
    AbstractAppender → Appender
  43. def setStarted(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  44. def setStarting(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  45. def setState(arg0: org.apache.logging.log4j.core.LifeCycle.State): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  46. def setStopped(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  47. def setStopping(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  48. def start(): Unit
    Definition Classes
    AbstractFilterable → AbstractLifeCycle → LifeCycle
  49. def stop(arg0: Long, arg1: TimeUnit, arg2: Boolean): Boolean
    Attributes
    protected[org.apache.logging.log4j.core.filter]
    Definition Classes
    AbstractFilterable
  50. def stop(arg0: Long, arg1: TimeUnit): Boolean
    Definition Classes
    AbstractFilterable → AbstractLifeCycle → LifeCycle2
  51. def stop(arg0: Future[_]): Boolean
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  52. def stop(): Unit
    Definition Classes
    AbstractLifeCycle → LifeCycle
  53. def stopBuffer(): Unit

    Plays buffered events and disables buffering.

  54. def stopQuietly(): Unit
  55. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    AbstractAppender → AnyRef → Any
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AbstractAppender

Inherited from Appender

Inherited from AbstractFilterable

Inherited from Filterable

Inherited from AbstractLifeCycle

Inherited from LifeCycle2

Inherited from LifeCycle

Inherited from AnyRef

Inherited from Any

Ungrouped