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

Valery Kharseko
17 hours ago 2b95a6954d1a76fbdb4733283b86df30ce70d4d0
opendj-server-legacy/src/main/java/org/opends/server/replication/server/MessageHandler.java
@@ -13,6 +13,7 @@
 *
 * Copyright 2009-2010 Sun Microsystems, Inc.
 * Portions Copyright 2011-2016 ForgeRock AS.
 * Portions Copyright 2026 3A Systems, LLC
 */
package org.opends.server.replication.server;
@@ -207,6 +208,24 @@
  }
  /**
   * Indicates whether this handler is served from the in-memory message
   * queue, i.e. it is done catching up with the changelog DB.
   * <p>
   * Package private: allows tests to wait until a freshly connected peer
   * will receive published updates through the in-memory queue path rather
   * than re-read from the changelog DB.
   *
   * @return true when this handler follows the in-memory message queue
   */
  boolean isFollowing()
  {
    synchronized (msgQueue)
    {
      return following;
    }
  }
  /**
   * Retrieves the name of this monitor provider.  It should be unique among all
   * monitor providers, including all instances of the same monitor provider.
   *