mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
07.50.2013 00d37e85955e374be365f1c34de5af1f69a6476c
opendj-sdk/opends/src/server/org/opends/server/loggers/AsynchronousTextWriter.java
File was renamed from opendj-sdk/opends/src/server/org/opends/server/loggers/AsyncronousTextWriter.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2013 ForgeRock AS.
 */
package org.opends.server.loggers;
@@ -44,7 +45,7 @@
 * A Text Writer which writes log records asynchronously to
 * character-based stream.
 */
public class AsyncronousTextWriter
public class AsynchronousTextWriter
    implements ServerShutdownListener, TextWriter
{
  /**
@@ -65,7 +66,7 @@
  private boolean autoFlush;
  /**
   * Construct a new AsyncronousTextWriter wrapper.
   * Construct a new AsynchronousTextWriter wrapper.
   *
   * @param name      the name of the thread.
   * @param capacity      the size of the queue before it gets flushed.
@@ -73,7 +74,7 @@
   *                  after the queue is flushed.
   * @param writer    a character stream used for output.
   */
  public AsyncronousTextWriter(String name, int capacity, boolean autoFlush,
  public AsynchronousTextWriter(String name, int capacity, boolean autoFlush,
                               TextWriter writer)
  {
    this.name = name;
@@ -199,7 +200,7 @@
  /**
   * Retrieves the wrapped writer.
   *
   * @return The wrapped writer used by this asyncronous writer.
   * @return The wrapped writer used by this asynchronous writer.
   */
  public TextWriter getWrappedWriter()
  {
@@ -211,7 +212,7 @@
   */
  public String getShutdownListenerName()
  {
    return "AsyncronousTextWriter Thread " + name;
    return "AsynchronousTextWriter Thread " + name;
  }
  /**