Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for dispatch (0.24 sec)

  1. android/guava/src/com/google/common/eventbus/Dispatcher.java

      abstract void dispatch(Object event, Iterator<Subscriber> subscribers);
    
      /** Implementation of a {@link #perThreadDispatchQueue()} dispatcher. */
      private static final class PerThreadQueuedDispatcher extends Dispatcher {
    
        // This dispatcher matches the original dispatch behavior of EventBus.
    
        /** Per-thread queue of events to dispatch. */
        private final ThreadLocal<Queue<Event>> queue =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * #enqueue enqueueing} and then {@linkplain #dispatch dispatching} events.
     *
     * <p>The API of this class is designed to make it easy to achieve the following properties
     *
     * <ul>
     *   <li>Multiple events for the same listener are never dispatched concurrently.
     *   <li>Events for the different listeners are dispatched concurrently.
     *   <li>All events for a given listener dispatch on the provided {@link #executor}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

            event.setTrace(trace);
            event.setArtifact(artifact);
            event.setException(exception);
    
            repositoryEventDispatcher.dispatch(event.build());
        }
    
        private void invalidDescriptor(
                RepositorySystemSession session, RequestTrace trace, Artifact artifact, Exception exception) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

            event.setTrace(trace);
            event.setMetadata(metadata);
            event.setException(exception);
            event.setRepository(repository);
    
            repositoryEventDispatcher.dispatch(event.build());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                throw new IllegalStateException("Duplicated key: " + dep);
            }
            if (path == null) {
                return;
            }
            paths.add(path);
            /*
             * Dispatch the dependency to class-path, module-path, patch-module path, etc.
             * according the dependency properties. We need to process patch-module first,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                throw new IllegalStateException("Duplicated key: " + dep);
            }
            if (path == null) {
                return;
            }
            paths.add(path);
            /*
             * Dispatch the dependency to class-path, module-path, patch-module path, etc.
             * according the dependency properties. We need to process patch-module first,
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            event.setTrace(trace);
            event.setMetadata(metadata);
            event.setException(exception);
            event.setRepository(repository);
    
            repositoryEventDispatcher.dispatch(event.build());
        }
    
        private void merge(
                Artifact artifact, Map<String, VersionInfo> infos, Versioning versioning, ArtifactRepository repository) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        void dispatchListenerEvents() {
          checkState(
              !monitor.isOccupiedByCurrentThread(),
              "It is incorrect to execute listeners with the monitor held.");
          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
          if (states.count(RUNNING) != numberOfServices) {
            IllegalStateException exception =
                new IllegalStateException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * {@link MoreExecutors#directExecutor}. Normally, when the first future completes, all the other
       * tasks would be called recursively. Here, we detect that the delegate executor is executing
       * inline, and maintain a queue to dispatch tasks iteratively. There is one instance of this class
       * per call to submit() or submitAsync(), and each instance supports only one call to execute().
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
            modules = dispatched.get(JavaPathType.MODULES);
            unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(2, dispatched.size());
            assertEquals(1, unresolved.size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
Back to top