Class AbstractFileAppender<M extends OutputStreamManager>

All Implemented Interfaces:
Appender, Filterable, LocationAware, LifeCycle, LifeCycle2

public abstract class AbstractFileAppender<M extends OutputStreamManager> extends AbstractOutputStreamAppender<M>
Abstract File Appender.
  • Method Details

    • getFileName

      public String getFileName()
      Returns the file name this appender is associated with.
      Returns:
      The File name.
    • stop

      public boolean stop(long timeout, TimeUnit timeUnit)
      Description copied from class: AbstractFilterable
      Cleanup the Filter.
      Specified by:
      stop in interface LifeCycle2
      Overrides:
      stop in class AbstractOutputStreamAppender<M extends OutputStreamManager>
      Parameters:
      timeout - the maximum time to wait
      timeUnit - the time unit of the timeout argument
      Returns:
      true if the receiver was stopped cleanly and normally, false otherwise.