- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 271 for Synchronized (0.04 sec)
-
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* execution of tasks will stop until a call to this method is made. */ @Override public void execute(Runnable task) { checkNotNull(task); Runnable submittedTask; long oldRunCount; synchronized (queue) { // If the worker is already running (or execute() on the delegate returned successfully, and // the worker has yet to start) then we don't need to start the worker.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* execution of tasks will stop until a call to this method is made. */ @Override public void execute(Runnable task) { checkNotNull(task); Runnable submittedTask; long oldRunCount; synchronized (queue) { // If the worker is already running (or execute() on the delegate returned successfully, and // the worker has yet to start) then we don't need to start the worker.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
} @Override public void onSuccess(String result) { synchronized (monitor) { assertFalse(wasCalled); wasCalled = true; assertEquals(value, result); } } @Override public synchronized void onFailure(Throwable t) { synchronized (monitor) { assertFalse(wasCalled); wasCalled = true;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
* into user code. * * @param enqueuedCall a call to enqueue in the synchronized block * @param finishedCall a call to finish in the synchronized block * @param finishedAsyncCall an async call to finish in the synchronized block */ private fun promoteAndExecute( enqueuedCall: AsyncCall? = null, finishedCall: RealCall? = null,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:22 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} if (track && this.traceResource) { synchronized (this.acquires) { this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace())); } } if (usage == 1) { synchronized (this) { if (this.sessionAcquired.compareAndSet(false, true)) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
*/ class RecordingCallback : Callback { private val responses = mutableListOf<RecordedResponse>() @Synchronized override fun onFailure( call: Call, e: IOException, ) { responses.add(RecordedResponse(call.request(), null, null, null, e)) (this as Object).notifyAll() } @Synchronized override fun onResponse( call: Call, response: Response, ) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} @Override public synchronized void insert(final StopwordsItem item) { try (StopwordsUpdater updater = new StopwordsUpdater(item)) { reload(updater); } } @Override public synchronized void update(final StopwordsItem item) { try (StopwordsUpdater updater = new StopwordsUpdater(item)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 13K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
} /** Set the OAuth session for this client. */ public synchronized void initOauthSession(OAuthSession session) { this.session = session; this.notifyAll(); } /** Waits for an OAuth session for this client to be set. */ public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
fun newClientBuilder(): OkHttpClient.Builder = newClient().newBuilder() @Synchronized private fun addEvent(event: String) { if (recordEvents) { logger?.info(event) synchronized(clientEventsList) { clientEventsList.add(event) } } } @Synchronized private fun initUncaughtException(throwable: Throwable) { if (uncaughtException == null) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
enqueueHelper(event, label); } private void enqueueHelper(Event<L> event, Object label) { checkNotNull(event, "event"); checkNotNull(label, "label"); synchronized (listeners) { for (PerListenerQueue<L> queue : listeners) { queue.add(event, label); } } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0)