- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tryEnterIf (0.03 sec)
-
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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
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; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0)