- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 249 for isSynchronized (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
synchronized (result) { result.addMissingArtifact(artifact); } } catch (ArtifactResolutionException e) { // This is really a wagon TransferFailedException so something went wrong after we successfully // retrieved the metadata. synchronized (result) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
private static class IOExceptionOccurProperties extends Properties { /** * */ private static final long serialVersionUID = 1L; @Override public synchronized void load(final InputStream inStream) throws IOException { throw new IOException("load"); } } /** * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, String)}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// When - Release session to trigger cleanup session.release(); // Then - Trees should be cleared (we can't directly verify as it's internal, // but the cleanup code with synchronized block ensures it happens atomically) // The important part is that no exception occurs and the operation is atomic } /** * Test concurrent acquire and release operations. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
* // do other things since the monitor was not available * } * } * * <h2>Comparison with {@code synchronized} and {@code ReentrantLock}</h2> * * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized}, * {@link ReentrantLock}, and {@code Monitor}. * * <h3>{@code synchronized}</h3> * * <p>This version is the fewest lines of code, largely because the synchronization mechanism used
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
*/ @Override public void refresh() throws CIFSException { log.debug("Refreshing JAAS credentials"); this.cachedSubject = null; } @Override public synchronized Subject getSubject() { if (this.cachedSubject != null) { return this.cachedSubject; } try { log.debug("Logging on"); LoginContext lc;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
} buffer.setLength(buffer.length() - ", ".length()); return new String(buffer); } /** * Initializes the class. */ protected static synchronized void initialize() { if (!initialized) { DisposableUtil.add(() -> { ResourceBundle.clearCache(); initialized = false; });
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
} } public void test_evaluate_concurrency() { queryRescorer = new QueryRescorer() { private int callCount = 0; @Override public synchronized RescorerBuilder<?> evaluate(Map<String, Object> params) { callCount++; if (callCount % 2 == 0) { return createMockRescorerBuilder(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
final int[] callCount = { 0 }; SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { @Override public void storeSearchLog() { synchronized (lock) { callCount[0]++; if (callCount[0] % 2 == 0) { throw new RuntimeException("Even call error"); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0)