Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for execute (1.7 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * calls to {@link Executor#execute `execute()`} that submitted those tasks had.
       *
       * <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
       * turn, and does not create any threads of its own.
       *
       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

    public class UpgradePropertiesRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES);
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public void execute(MavenSession session) {}
    
        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
        Listener(Runnable task, Executor executor) {
          this.task = task;
          this.executor = executor;
        }
    
        Listener() {
          this.task = null;
          this.executor = null;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        private final Map<String, String> params;
    
        public UpgradePropertiesRuleSetup(Map<String, String> params) {
            this.params = params;
        }
    
        @Override
        public void execute(ViolationCheckContext context) {
            List<UpgradedProperty> currentUpgradedProperties = UpgradedProperties.parse(params.get(CURRENT_UPGRADED_PROPERTIES_KEY));
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          @Override
          public Thread newThread(Runnable r) {
            return new Thread(r);
          }
        }
    
        public static final class DummyExecutor implements Executor, Serializable {
          @Override
          public void execute(Runnable command) {}
        }
      }
    
      private static final class NullByteSink extends ByteSink implements Serializable {
        private static final NullByteSink INSTANCE = new NullByteSink();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          @Override
          public Thread newThread(Runnable r) {
            return new Thread(r);
          }
        }
    
        public static final class DummyExecutor implements Executor, Serializable {
          @Override
          public void execute(Runnable command) {}
        }
      }
    
      private static final class NullByteSink extends ByteSink implements Serializable {
        private static final NullByteSink INSTANCE = new NullByteSink();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top