Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,914 for publish (0.19 sec)

  1. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

            recorder.eventsReceived);
      }
    
      public class EventProcessor {
        @Subscribe
        public void listenForStrings(String event) {
          bus.post(SECOND);
        }
      }
    
      public class EventRecorder {
        List<Object> eventsReceived = Lists.newArrayList();
    
        @Subscribe
        public void listenForEverything(Object event) {
          eventsReceived.add(event);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/package-info.java

     * the License.
     */
    
    /**
     * <a href="https://guava.dev/EventBus">Discouraged</a> in favor of dependency injection and
     * concurrency frameworks, EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TestLogHandler extends Handler {
      /** We will keep a private list of all logged records */
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TestLogHandler extends Handler {
      /** We will keep a private list of all logged records */
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           */
    
          //
          seenExceptionsLocal = newConcurrentHashSet();
          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
          addInitialException(seenExceptionsLocal);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

            recorder.eventsReceived);
      }
    
      public class EventProcessor {
        @Subscribe
        public void listenForStrings(String event) {
          bus.post(SECOND);
        }
      }
    
      public class EventRecorder {
        List<Object> eventsReceived = Lists.newArrayList();
    
        @Subscribe
        public void listenForEverything(Object event) {
          eventsReceived.add(event);
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <h2>EventBus Summary</h2>
     *
     * <p>The EventBus allows publish-subscribe-style communication between components without requiring
     * the components to explicitly register with one another (and thus be aware of each other). It is
     * designed exclusively to replace traditional Java in-process event distribution using explicit
     * registration. It is not a general-purpose publish-subscribe system, nor is it intended
     * for interprocess communication.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        ArtifactResolutionResult resolve(ArtifactResolutionRequest request);
    
        // Install
    
        // Deploy
    
        // Map types of artifacts
    
        //
        // Raw file transfers
        //
        void publish(
                ArtifactRepository repository, File source, String remotePath, ArtifactTransferListener transferListener)
                throws ArtifactTransferFailedException;
    
        void retrieve(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                this.id = id;
                this.fallback = fallback;
            }
    
            public String getId() {
                return id;
            }
    
            public String pathOf(Artifact artifact) {
                return fallback.pathOf(artifact);
            }
    
            public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            return null;
        }
    
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
        public void injectProxy(List<ArtifactRepository> repositories, List<Proxy> proxies) {}
    
        public void publish(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top