Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,128 for Events (0.27 sec)

  1. docs/features/caching.md

              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    In the ideal scenario the cache can fulfill the request without any conditional call to the network.
    This will skip the normal events such as DNS, connecting to the network, and downloading the response body.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar

    fireSessionDebug(String); public boolean hasTransferListener(events.TransferListener); public void addTransferListener(events.TransferListener); public void removeTransferListen(events.TransferListener); public void addSessionListener(events.SessionListener); public boolean hasSessionListener(events.SessionListener); public void removeSessionListene(events.SessionListener); protected void fireTransferError(resource.Resource, Exception, int); public events.SessionEventSupport getSessionEventSuppo(); public...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 45.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

        assertEquals(
            "ReentrantEventHater expected 2 events",
            Lists.<Object>newArrayList(FIRST, SECOND),
            hater.eventsReceived);
      }
    
      public class ReentrantEventsHater {
        boolean ready = true;
        List<Object> eventsReceived = Lists.newArrayList();
    
        @Subscribe
        public void listenForStrings(String event) {
          eventsReceived.add(event);
          ready = false;
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

          checkNotNull(event);
          checkNotNull(subscribers);
          // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
          Queue<Event> queueForThread = requireNonNull(queue.get());
          queueForThread.offer(new Event(event, subscribers));
    
          if (!dispatching.get()) {
            dispatching.set(true);
            try {
              Event nextEvent;
    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)
  7. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
       * <p>The {@code toString} method of the Event itself will be used to describe the event in the
       * case of an error.
       *
       * @param event the callback to execute on {@link #dispatch}
       */
      public void enqueue(Event<L> event) {
        enqueueHelper(event, event);
      }
    
      /**
    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)
Back to top