| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2010-2011 ForgeRock AS |
| | | * Portions Copyright 2010-2012 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.server; |
| | | |
| | |
| | | // non blocking |
| | | UpdateMsg newMsg; |
| | | do { |
| | | newMsg = mh.getnextMessage(false); |
| | | newMsg = mh.getNextMessage(false); |
| | | // when the replication changelog is trimmed, the last (latest) chg |
| | | // is left in the db (whatever its age), and we don't want this chg |
| | | // to be returned in the external changelog. |
| | |
| | | * @return the next message |
| | | */ |
| | | @Override |
| | | protected UpdateMsg getnextMessage(boolean synchronous) |
| | | protected UpdateMsg getNextMessage(boolean synchronous) |
| | | { |
| | | UpdateMsg msg = null; |
| | | try |