Clean up timing-related code

Description

  1. There's an SPI that cannot be used at the moment (TimingSource).

  2. We use Timer whereas ScheduledExecutor would work just fine.

  3. Also, more generally, we should probably number threads from 0. We do that for Lucene merge threads already, so...

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure