neo4j/neo4j — pull request #3530 by davidegrohmann (2014-11-24 14:38:27+00:00)
Title: Refactor of replanning code

- Use a DURATION parser when reading the 'query time to live' from the settings
- Inject a Clock instead of creating manually Dates for retrieving time in plan fingerprint
- Check txId on the candidate stale plan after having check the timestamp
- Inject statistics divergence threshold into the ExecutionPlanBuilder