Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for Scheduled (0.17 sec)

  1. src/main/java/org/codelibs/fess/helper/JobHelper.java

                final Map<String, Object> params = new HashMap<>();
                ComponentUtil.getComponent(ScheduledJobBhv.class).selectByPK(scheduledJob.getId())
                        .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)).orElse(() -> {
                            logger.warn("Job {} is not found.", scheduledJob.getId());
                        });
                return params;
            };
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

              public void run() {
                totalCalls.incrementAndGet();
                // Make sure that no other tasks are scheduled to run while this is running.
                assertFalse(fakePool.hasNext());
              }
            };
    
        assertFalse(fakePool.hasNext());
        e.execute(intCounter);
        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          private ScheduledFuture<@Nullable Void> submitToExecutor(Schedule schedule) {
            return executor.schedule(this, schedule.delay, schedule.unit);
          }
        }
    
        /**
         * Contains the most recently submitted {@code Future}, which may be cancelled or updated,
         * always under a lock.
         */
        private static final class SupplantableFuture implements Cancellable {
          private final ReentrantLock lock;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                jobHelper.setJobRuntime(null);
            }
        }
    
        protected void process(final LaJobRuntime runtime) {
            if (!runtime.getParameterMap().containsKey(Constants.SCHEDULED_JOB)) {
                logger.warn("{} is empty.", Constants.SCHEDULED_JOB);
                return;
            }
            runtime.stopIfNeeds();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return schedule(java.util.concurrent.Executors.callable(command), delay, unit);
      }
    
      @Override
      public <V> ListenableScheduledFuture<V> schedule(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsScheduledJobBhv.java

            return asEsIndexType();
        }
    
        @Override
        protected String asEsIndex() {
            return "fess_config.scheduled_job";
        }
    
        @Override
        public String asEsIndexType() {
            return "scheduled_job";
        }
    
        @Override
        public String asEsSearchType() {
            return "scheduled_job";
        }
    
        @Override
        public ScheduledJobDbm asDBMeta() {
            return ScheduledJobDbm.getInstance();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * addListener/SES.schedule. The later racy write in cancel() is not guaranteed to be observed,
       * however that is fine since the correctness is based on the atomic state in our base class. The
       * initial write to timer is never definitely visible to Fire.run since it is assigned after
       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

              public void run() {
                totalCalls.incrementAndGet();
                // Make sure that no other tasks are scheduled to run while this is running.
                assertFalse(fakePool.hasNext());
              }
            };
    
        assertFalse(fakePool.hasNext());
        e.execute(intCounter);
        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ScheduledJobDbm.java

        //                                                                          ==========
        protected final String _tableDbName = "scheduled_job";
        protected final String _tableDispName = "scheduled_job";
        protected final String _tablePropertyName = "ScheduledJob";
    
        public String getTableDbName() {
            return _tableDbName;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top