[crac] Integrated: API for restore time

Anton Kozlov akozlov at openjdk.org
Wed Sep 28 13:50:36 UTC 2022


On Mon, 12 Sep 2022 19:54:41 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> This PR adds an ability to get restore time, similar to RuntimeMXBean.getUptime() [1] and getStartTime(). Before I used to print timestamps and parse console output, which was not very convenient.
> 
> [1] https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/RuntimeMXBean.html#getUptime()

This pull request has now been integrated.

Changeset: 9ed96110
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/9ed961106a255145274de777e151577863b013ea
Stats:     561 lines in 13 files changed: 427 ins; 69 del; 65 mod

API for restore time

Reviewed-by: snazarki

-------------

PR: https://git.openjdk.org/crac/pull/29


More information about the crac-dev mailing list