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.
      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
      stop in class AbstractOutputStreamAppender<M extends OutputStreamManager>
      timeout - the maximum time to wait
      timeUnit - the time unit of the timeout argument
      true if the receiver was stopped cleanly and normally, false otherwise.