Searched refs:deadline (Results 1 – 1 of 1) sorted by relevance
226 Instant deadline = Instant.now().plusSeconds(60 * 5); in waitForState() local227 while ((state = getThreadState(t)) != desired && deadline.isAfter(Instant.now())) { in waitForState()