326327328329330331332333334335336
while (!pendingTokens.isEmpty()) { OperationContext ctx = pendingTokens.poll(); try { ctx.replicationDone(); } catch (Throwable e) { HornetQServerLogger.LOGGER.errorCompletingCallbackOnReplicationManager(e); }
389390391392393394395396397398399
// Execute outside lock if (runItNow) { repliToken.replicationDone(); } } /** * @throws IllegalStateException By default, all replicated packets generate a replicated
407408409410411412413414415416417
if (ctx == null) { throw new IllegalStateException("Missing replication token on the queue."); } ctx.replicationDone(); } // Inner classes ------------------------------------------------- private final class ReplicatedSessionFailureListener implements SessionFailureListener
316317318319320321322323324325326
384385386387388389390391392393394
402403404405406407408409410411412
377378379380381382383384385386387
while (!pendingTokens.isEmpty()) { OperationContext ctx = pendingTokens.poll(); try { ctx.replicationDone(); } catch (Throwable e) { ReplicationManagerImpl.log.warn("Error completing callback on replication manager", e); }
471472473474475476477478479480481
// Execute outside lock if (runItNow) { repliToken.replicationDone(); } } private void replicated() {
484485486487488489490491492493494
if (ctx == null) { throw new IllegalStateException("Missing replication token on the queue."); } ctx.replicationDone(); } // Inner classes ------------------------------------------------- protected class ResponseHandler implements ChannelHandler
317318319320321322323324325326327