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