Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for subscribe (0.2 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import com.google.common.eventbus.EventBus;
    import com.google.common.eventbus.Subscribe;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

     */
    public class StringCatcher {
      private List<String> events = Lists.newArrayList();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom

        </snapshotRepository>
      </distributionManagement>
      <mailingLists>
        <mailingList>
          <name>Apache Announce List</name>
          <subscribe>announce-subscribe@apache.org</subscribe>
          <unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
          <post>******@****.***</post>
          <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
        </mailingList>
      </mailingLists>
    Plain Text
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sat Nov 09 12:45:14 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

        eventBus.register(this);
      }
    
      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
        // Nothing to do here.
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/bug_report.md

    ---
    name: Bug report
    about: Create a report to help us improve
    title: ''
    labels: community, triage
    assignees: ''
    
    ---
    
    ## NOTE
    If this case is urgent, please subscribe to [Subnet](https://min.io/pricing) so that our 24/7 support team may help you faster.
    
    <!--- Provide a general summary of the issue in the Title above -->
    
    ## Expected Behavior
    <!--- If you're describing a bug, tell us what should happen -->
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:37:40 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/EventBus.java

       */
      public void unregister(Object object) {
        subscribers.unregister(object);
      }
    
      /**
       * Posts an event to all registered subscribers. This method will return successfully after the
       * event has been posted to all subscribers, and regardless of any exceptions thrown by
       * subscribers.
       *
       * <p>If no subscribers have been subscribed for {@code event}'s class, and {@code event} is not
    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)
  9. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object anything) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/complete-model/wo-parent/pom.xml

          </properties>
        </contributor>
      </contributors>
    
      <mailingLists>
        <mailingList>
          <name>project-mailing-list</name>
          <subscribe>subscribe@</subscribe>
          <unsubscribe>unsubscribe@</unsubscribe>
          <post>post@</post>
          <archive>mail-archive</archive>
          <otherArchives>
            <otherArchive>other-archive</otherArchive>
          </otherArchives>
        </mailingList>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 8.6K bytes
    - Viewed (0)
Back to top