- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for enterInterruptibly (0.2 sec)
-
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} @Override protected final void tearDown() { tearDownStack.runTearDown(); } private String enter() { return interruptible ? "enterInterruptibly" : "enter"; } private String tryEnter() { return "tryEnter"; } private String enterIf() { return interruptible ? "enterIfInterruptibly" : "enterIf"; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} @Override protected final void tearDown() { tearDownStack.runTearDown(); } private String enter() { return interruptible ? "enterInterruptibly" : "enter"; } private String tryEnter() { return "tryEnter"; } private String enterIf() { return interruptible ? "enterIfInterruptibly" : "enterIf"; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
*/ public void enterInterruptibly() throws InterruptedException { lock.lockInterruptibly(); } /** * Enters this monitor. Blocks at most the given time, and may be interrupted. * * @return whether the monitor was entered * @throws InterruptedException if interrupted while waiting * @since 28.0 */ public boolean enterInterruptibly(Duration time) throws InterruptedException {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 18:22:01 UTC 2023 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
} } } /** * Enters this monitor. Blocks indefinitely, but may be interrupted. * * @throws InterruptedException if interrupted while waiting */ public void enterInterruptibly() throws InterruptedException { lock.lockInterruptibly(); } /** * Enters this monitor. Blocks at most the given time, and may be interrupted. * * @return whether the monitor was entered
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 18:22:01 UTC 2023 - 38.6K bytes - Viewed (0)