Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scheduler (0.17 sec)

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

        }
    
        @Override
        public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
          TrustedListenableFutureTask<@Nullable Void> task =
              TrustedListenableFutureTask.create(command, null);
          ScheduledFuture<?> scheduled = delegate.schedule(task, delay, unit);
          return new ListenableScheduledTask<@Nullable Void>(task, scheduled);
        }
    
        @Override
    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. .github/workflows/scorecard.yml

      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
        name: Scorecard analysis
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

        Future<?> scheduled = executorService.schedule(task, delay, timeUnit);
        /*
         * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't
         * interrupt a second time after the interruption performed by TrustedListenableFutureTask.
         */
        task.addListener(() -> scheduled.cancel(false), directExecutor());
        return task;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeTraverser.java

     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
     *     the same lambda function as passed into {@link #using(Function)}.
     *     <p>This class is scheduled to be removed in October 2019.
     */
    // TODO(b/68134636): Remove by 2019-10
    @Deprecated
    @Beta
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TreeTraverser<T> {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * Starts a {@link ClosingFuture} pipeline by submitting a callable block to an executor.
       *
       * @throws java.util.concurrent.RejectedExecutionException if the task cannot be scheduled for
       *     execution
       */
      public static <V extends @Nullable Object> ClosingFuture<V> submit(
          ClosingCallable<V> callable, Executor executor) {
        return new ClosingFuture<>(callable, executor);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top