Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for scheduler (0.14 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                }
              }
            };
        TestCustomScheduler scheduler = new TestCustomScheduler();
        Cancellable future = scheduler.schedule(null, Executors.newScheduledThreadPool(10), task);
        firstBarrier.await();
        assertEquals(1, scheduler.scheduleCounter.get());
        secondBarrier.await();
        firstBarrier.await();
        assertEquals(2, scheduler.scheduleCounter.get());
        shouldWait.set(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                }
              }
            };
        TestCustomScheduler scheduler = new TestCustomScheduler();
        Cancellable future = scheduler.schedule(null, Executors.newScheduledThreadPool(10), task);
        firstBarrier.await();
        assertEquals(1, scheduler.scheduleCounter.get());
        secondBarrier.await();
        firstBarrier.await();
        assertEquals(2, scheduler.scheduleCounter.get());
        shouldWait.set(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. 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;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
        }
    
        protected static void waitJob(final String namePrefix) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. 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;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.scheduler;
    
    import static org.codelibs.fess.app.web.admin.scheduler.AdminSchedulerAction.getScheduledJob;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/CreateBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.scheduler;
    
    import org.codelibs.fess.app.web.admin.scheduler.CreateForm;
    
    public class CreateBody extends CreateForm {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 786 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.scheduler;
    
    import org.codelibs.fess.app.web.admin.scheduler.EditForm;
    
    public class EditBody extends EditForm {
        public Boolean running;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 808 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/SearchBody.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.scheduler;
    
    import org.codelibs.fess.app.web.api.admin.BaseSearchBody;
    
    public class SearchBody extends BaseSearchBody {
        public String id;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 810 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/scheduler/EditForm.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.scheduler;
    
    import javax.validation.constraints.Size;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author Keiichi Watanabe
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top