Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for listenCh (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        private final ArtifactTransferListener listener;
    
        private final Map<Resource, ArtifactTransferResource> artifacts;
    
        private final Map<Resource, Long> transfers;
    
        public static TransferListener newAdapter(ArtifactTransferListener listener) {
            if (listener == null) {
                return null;
            } else {
                return new TransferListenerAdapter(listener);
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
          return new MockResponse()
              .setResponseCode(404)
              .setBody("unexpected request");
        }
    
        try {
          OAuthSession session = slackApi.exchangeCode(code, redirectUrl());
          listener.sessionGranted(session);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * after executing them.
       *
       * @param listener the listener to run when the computation is complete
       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Add shutdown listener
            TestShutdownListener listener = new TestShutdownListener();
            scriptExecutor.addShutdownListener(listener);
    
            // Verify listener not called yet
            assertFalse(listener.wasShutdownCalled());
    
            // Call shutdown
            scriptExecutor.shutdown();
    
            // Verify listener was called
            assertTrue(listener.wasShutdownCalled());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * after executing them.
       *
       * @param listener the listener to run when the computation is complete
       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * after executing them.
       *
       * @param listener the listener to run when the computation is complete
       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          return UNSAFE.compareAndSwapObject(future, LISTENERS_OFFSET, expect, update);
        }
    
        @Override
        @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update) {
          while (true) {
            Listener listener = future.listenersField;
            if (update == listener) {
              return listener;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
            client.close();
        }
    
        @Test
        void testUnregistration() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        }
    
        @Override
        boolean casListeners(
            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          return listenersUpdater.compareAndSet(future, expect, update);
        }
    
        @Override
        @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update) {
          return (Listener) listenersUpdater.getAndSet(future, update);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/JobExecutor.java

         * This method notifies the shutdown listener to perform cleanup operations.
         */
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        /**
         * Adds a shutdown listener to be notified when the executor is shutting down.
         *
         * @param listener the shutdown listener to add
         */
        public void addShutdownListener(final ShutdownListener listener) {
            shutdownListener = listener;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top