Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 438 for invokers (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
         * Executes the behavior defined by this {@code Mojo}. This method is invoked
         * during the Maven build lifecycle to perform the Mojo's designated task.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * <p>This method should return promptly; prefer to do work on a different thread where it is
       * convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} is
       * called multiple times.
       *
       * <p>If {@link #stopAsync} is called on a {@link State#STARTING} service, this method is not
       * invoked immediately. Instead, it will be deferred until after the service is {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/Subscriber.java

              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        ParserRequest parserRequest();
    
        /**
         * Flag representing parser processing result: if there were some fatal errors during
         * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker should
         * handle this request as "early failure". In these cases, {@link #options()} usually is absent.
         */
        boolean parsingFailed();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        @Override
        protected @Nullable Object handleInvocation(
            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

    import java.util.logging.Level;
    
    /**
     * A list of listeners for implementing a concurrency friendly observable object.
     *
     * <p>Listeners are registered once via {@link #addListener} and then may be invoked by {@linkplain
     * #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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          executionList.add(listener, exec);
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to {@code value}.
         * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke
         * the listeners if the state was successfully changed.
         *
         * @param value the value that was the result of the task.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * in turn invoke arbitrary code it is not safe to call while holding a lock.
       */
      @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt.
      final void interruptTask() {
        // Since the Thread is replaced by DONE before run() invokes listeners or returns, if we succeed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
        void finalize_invokes_checkRelease() throws Throwable {
            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top