- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for enterWhenUninterruptibly (0.22 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractService.java
@Override public final void awaitRunning() { monitor.enterWhenUninterruptibly(hasReachedRunning); try { checkCurrentState(RUNNING); } finally { monitor.leave(); } } @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) { try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
return interruptible ? "enterIfInterruptibly" : "enterIf"; } private String tryEnterIf() { return "tryEnterIf"; } private String enterWhen() { return interruptible ? "enterWhen" : "enterWhenUninterruptibly"; } private String waitFor() { return interruptible ? "waitFor" : "waitForUninterruptibly"; } private String leave() { return "leave"; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
return interruptible ? "enterIfInterruptibly" : "enterIf"; } private String tryEnterIf() { return "tryEnterIf"; } private String enterWhen() { return interruptible ? "enterWhen" : "enterWhenUninterruptibly"; } private String waitFor() { return interruptible ? "waitFor" : "waitForUninterruptibly"; } private String leave() { return "leave"; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
} } void addListener(Listener listener, Executor executor) { listeners.addListener(listener, executor); } void awaitHealthy() { monitor.enterWhenUninterruptibly(awaitHealthGuard); try { checkHealthy(); } finally { monitor.leave(); } } void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 30.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
} } finally { lock.unlock(); } } } } /** Enters this monitor when the guard is satisfied. Blocks indefinitely. */ public void enterWhenUninterruptibly(Guard guard) { if (guard.monitor != this) { throw new IllegalMonitorStateException(); } final ReentrantLock lock = this.lock; boolean signalBeforeWaiting = lock.isHeldByCurrentThread();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0)