- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for isOccupiedByCurrentThread (0.12 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
assertFalse(monitor.isOccupiedByCurrentThread()); monitor.enter(); try { assertTrue(monitor.isOccupiedByCurrentThread()); doWaitScenarioSetUp(); boolean interruptedBeforeCall = Thread.currentThread().isInterrupted(); Outcome actualOutcome = doCall(); boolean occupiedAfterCall = monitor.isOccupiedByCurrentThread();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 27.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
boolean expectedIsOccupiedByCurrentThread, int expectedOccupiedDepth) { assertEquals(expectedIsOccupied, monitor.isOccupied()); assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread()); assertEquals(expectedOccupiedDepth, monitor.getOccupiedDepth()); } private static void verifyOccupiedMethodsInAnotherThread( Monitor monitor, boolean expectedIsOccupied,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
boolean expectedIsOccupiedByCurrentThread, int expectedOccupiedDepth) { assertEquals(expectedIsOccupied, monitor.isOccupied()); assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread()); assertEquals(expectedOccupiedDepth, monitor.getOccupiedDepth()); } private static void verifyOccupiedMethodsInAnotherThread( Monitor monitor, boolean expectedIsOccupied,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 5K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
} /** * Attempts to execute all the listeners in {@link #listeners} while not holding the {@link * #monitor}. */ private void dispatchListenerEvents() { if (!monitor.isOccupiedByCurrentThread()) { listeners.dispatch(); } } private void enqueueStartingEvent() { listeners.enqueue(STARTING_EVENT); } private void enqueueRunningEvent() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
} /** * Attempts to execute all the listeners in {@link #listeners} while not holding the {@link * #monitor}. */ private void dispatchListenerEvents() { if (!monitor.isOccupiedByCurrentThread()) { listeners.dispatch(); } } private void enqueueStartingEvent() { listeners.enqueue(STARTING_EVENT); } private void enqueueRunningEvent() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
} }); } /** Attempts to execute all the listeners in {@link #listeners}. */ void dispatchListenerEvents() { checkState( !monitor.isOccupiedByCurrentThread(), "It is incorrect to execute listeners with the monitor held."); listeners.dispatch(); } @GuardedBy("monitor") void checkHealthy() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 33.2K bytes - Click Count (1) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
} }); } /** Attempts to execute all the listeners in {@link #listeners}. */ void dispatchListenerEvents() { checkState( !monitor.isOccupiedByCurrentThread(), "It is incorrect to execute listeners with the monitor held."); listeners.dispatch(); } @GuardedBy("monitor") void checkHealthy() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 32.9K bytes - Click Count (0)