@Override public GridNearLockResponse apply(Boolean b, Exception e) { if (e != null) e = U.unwrap(e); else if (!b) e = new GridCacheLockTimeoutException(req.version()); GridNearLockResponse res = createLockReply(nearNode, entries, req, null, mappedVer, e); sendLockReply(nearNode, null, req, res); return res; } },
/** * @param nodeId Node ID. * @param req Request. */ private void processNearLockRequest(UUID nodeId, GridNearLockRequest req) { assert ctx.affinityNode(); assert nodeId != null; assert req != null; if (txLockMsgLog.isDebugEnabled()) { txLockMsgLog.debug("Received near lock request [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nodeId + ']'); } ClusterNode nearNode = ctx.discovery().node(nodeId); if (nearNode == null) { U.warn(txLockMsgLog, "Received near lock request from unknown node (will ignore) [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nodeId + ']'); return; } processNearLockRequest0(nearNode, req); }
txLockMsgLog.debug("Sent near lock response [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() + ']'); txLockMsgLog.debug("Skip send near lock response [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() + "txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() +
req.version(), req.futureId(), req.miniId(),
GridCacheVersion dhtVer = ctx.tm().mappedVersion(req.version()); req.topologyVersion(), nearNode.id(), req.version(), req.futureId(), req.miniId(), req.version(); fut = new GridDhtLockFuture(ctx, nearNode.id(), req.version(), req.topologyVersion(), cnt, req, tx, tx != null ? tx.xidVersion() : req.version(), e);
@Override public GridNearLockResponse apply(Boolean b, Exception e) { if (e != null) e = U.unwrap(e); else if (!b) e = new GridCacheLockTimeoutException(req.version()); GridNearLockResponse res = createLockReply(nearNode, entries, req, null, mappedVer, e); sendLockReply(nearNode, null, req, res); return res; } },
req.version(), req.futureId(), req.miniId(),
/** * @param nodeId Node ID. * @param req Request. */ private void processNearLockRequest(UUID nodeId, GridNearLockRequest req) { assert ctx.affinityNode(); assert nodeId != null; assert req != null; if (txLockMsgLog.isDebugEnabled()) { txLockMsgLog.debug("Received near lock request [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nodeId + ']'); } ClusterNode nearNode = ctx.discovery().node(nodeId); if (nearNode == null) { U.warn(txLockMsgLog, "Received near lock request from unknown node (will ignore) [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nodeId + ']'); return; } processNearLockRequest0(nearNode, req); }
txLockMsgLog.debug("Sent near lock response [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() + ']'); txLockMsgLog.debug("Skip send near lock response [txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() + "txId=" + req.version() + ", inTx=" + req.inTx() + ", node=" + nearNode.id() +
req.version(), req.futureId(), req.miniId(),
GridCacheVersion dhtVer = ctx.tm().mappedVersion(req.version()); req.topologyVersion(), nearNode.id(), req.version(), req.futureId(), req.miniId(), req.version(); fut = new GridDhtLockFuture(ctx, nearNode.id(), req.version(), req.topologyVersion(), cnt, req, tx, tx != null ? tx.xidVersion() : req.version(), e);
req.version(), req.futureId(), req.miniId(),