382383384385386387388389390391392
// Execute outside lock if (runItNow) { repliToken.replicationDone(); } return repliToken; }
402403404405406407408409410411412
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
325326327328329330331332333334335
while (!pendingTokens.isEmpty()) { OperationContext ctx = pendingTokens.poll(); try { ctx.replicationDone(); } catch (Throwable e) { HornetQServerLogger.LOGGER.errorCompletingCallbackOnReplicationManager(e); }
390391392393394395396397398399400
410411412413414415416417418419420
326327328329330331332333334335336
389390391392393394395396397398399