409410411412413414415416417418419
if (ctx == null) { throw new IllegalStateException("Missing replication token on the queue."); } ctx.replicationDone(); } // Inner classes ------------------------------------------------- private final class ReplicatedSessionFailureListener implements SessionFailureListener
322323324325326327328329330331332
while (!pendingTokens.isEmpty()) { OperationContext ctx = pendingTokens.poll(); try { ctx.replicationDone(); } catch (Throwable e) { HornetQServerLogger.LOGGER.errorCompletingCallbackOnReplicationManager(e); }
387388389390391392393394395396397
// Execute outside lock if (runItNow) { repliToken.replicationDone(); } return repliToken; }
407408409410411412413414415416417
324325326327328329330331332333334
389390391392393394395396397398399
411412413414415416417418419420421
319320321322323324325326327328329
393394395396397398399400401402403
// Execute outside lock if (runItNow) { repliToken.replicationDone(); } } /** * @throws IllegalStateException By default, all replicated packets generate a replicated