- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for tryEnterIf (0.4 seconds)
-
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} private String tryEnter() { return "tryEnter"; } private String enterIf() { return interruptible ? "enterIfInterruptibly" : "enterIf"; } private String tryEnterIf() { return "tryEnterIf"; } private String enterWhen() { return interruptible ? "enterWhen" : "enterWhenUninterruptibly"; } private String waitFor() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} private String tryEnter() { return "tryEnter"; } private String enterIf() { return interruptible ? "enterIfInterruptibly" : "enterIf"; } private String tryEnterIf() { return "tryEnterIf"; } private String enterWhen() { return interruptible ? "enterWhen" : "enterWhenUninterruptibly"; } private String waitFor() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* * <p><b>Note:</b> This method disregards the fairness setting of this monitor. * * @return whether the monitor was entered, which guarantees that the guard is now satisfied */ public boolean tryEnterIf(Guard guard) { if (guard.monitor != this) { throw new IllegalMonitorStateException(); } ReentrantLock lock = this.lock; if (!lock.tryLock()) { return false; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0)