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

jvergara
11.07.2009 04882182c8357c9d5ff615b0ff8b1aa5ee4d2166
opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeSearcherQueue.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 */
package org.opends.guitools.controlpanel.browser;
@@ -127,6 +127,18 @@
    notify();
  }
  /**
   * Tells whether this node is in the working list.
   * @param node the node.
   * @return <CODE>true</CODE> if the provided node is being refreshed and
   * <CODE>false</CODE> otherwise.
   */
  public synchronized boolean isWorking(BasicNode node)
  {
    boolean isWorking = workingList.get(node) != null;
    return isWorking;
  }
  /**
   * Cancel all the object from this queue.