/** * @param nodeId Node id. * @param res Response. */ private void processPartitionCountersResponse(UUID nodeId, PartitionCountersNeighborcastResponse res) { PartitionCountersNeighborcastFuture fut = ((PartitionCountersNeighborcastFuture)ctx.mvcc().future(res.futId())); if (fut == null) { log.warning("Failed to find future for partition counters response [futId=" + res.futId() + ", node=" + nodeId + ']'); return; } fut.onResult(nodeId); }
/** * @param nodeId Node id. * @param res Response. */ private void processPartitionCountersResponse(UUID nodeId, PartitionCountersNeighborcastResponse res) { PartitionCountersNeighborcastFuture fut = ((PartitionCountersNeighborcastFuture)ctx.mvcc().future(res.futId())); if (fut == null) { log.warning("Failed to find future for partition counters response [futId=" + res.futId() + ", node=" + nodeId + ']'); return; } fut.onResult(nodeId); }