- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 97 for Rescheduler (0.11 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public @Nullable Void call() throws Exception { wrappedRunnable.run(); reschedule(); return null; } /** * Atomically reschedules this task and assigns the new future to {@link * #cancellationDelegate}. */ @CanIgnoreReturnValue Cancellable reschedule() { // invoke the callback outside the lock, prevents some shenanigans.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
jobManager.schedule(cron -> register(cron, scheduledJob)); } /** * Registers a scheduled job with the specified cron scheduler. * * @param cron the cron scheduler to use * @param scheduledJob the scheduled job to register */ public void register(final LaCron cron, final ScheduledJob scheduledJob) { if (scheduledJob == null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java
import org.lastaflute.job.subsidiary.LaunchNowOption; import org.lastaflute.job.subsidiary.LaunchedProcess; import org.lastaflute.web.response.JsonResponse; /** * Tests for the scheduler start API endpoint contract. * Verifies that {@code PUT /api/admin/scheduler/{id}/start} returns the correct * {@code jobLogId} based on the job's logging configuration. */ public class ApiAdminSchedulerActionTest extends UnitFessTestCase { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} }; TestCustomScheduler scheduler = new TestCustomScheduler(); Cancellable future = scheduler.schedule(null, newScheduledThreadPool(10), task); firstBarrier.await(); assertEquals(1, scheduler.scheduleCounter.get()); secondBarrier.await(); firstBarrier.await(); assertEquals(2, scheduler.scheduleCounter.get()); shouldWait.set(false); secondBarrier.await();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} }; TestCustomScheduler scheduler = new TestCustomScheduler(); Cancellable future = scheduler.schedule(null, newScheduledThreadPool(10), task); firstBarrier.await(); assertEquals(1, scheduler.scheduleCounter.get()); secondBarrier.await(); firstBarrier.await(); assertEquals(2, scheduler.scheduleCounter.get()); shouldWait.set(false); secondBarrier.await();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
} /** * Retrieves scheduler settings with pagination. * * @param body the search parameters for filtering and pagination * @return JSON response containing scheduler settings list */ // GET /api/admin/scheduler // PUT /api/admin/scheduler @Execute public JsonResponse<ApiResult> settings(final SearchBody body) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
while (count < 1500 && !isRunning) { ThreadUtil.sleep(sleepTime); count++; final Map<String, Object> scheduler = getSchedulerItem(namePrefix); assertTrue(scheduler.containsKey("running")); isRunning = (Boolean) scheduler.get("running"); // Exponential backoff: gradually increase sleep time up to 300ms if (count % 5 == 0 && sleepTime < 300) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/EditForm.java
/** * The unique identifier of the scheduler being edited. * This is a required field for identifying which scheduler to update. */ @Required @Size(max = 1000) public String id; /** * The version number of the scheduler for optimistic locking. * This field is required to prevent concurrent modification conflicts * by ensuring the scheduler hasn't been modified by another process. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/job/AllJobSchedulerTest.java
final AllJobScheduler scheduler = new AllJobScheduler(); assertTrue(scheduler instanceof LaJobScheduler); } public void test_AllJobScheduler_creation() { final AllJobScheduler scheduler = new AllJobScheduler(); assertNotNull(scheduler); } public void test_setJobClass() { final AllJobScheduler scheduler = new AllJobScheduler();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
/** * Shutdown the directory lease manager */ public void shutdown() { scheduler.shutdown(); try { if (!scheduler.awaitTermination(5, TimeUnit.SECONDS)) { scheduler.shutdownNow(); } } catch (InterruptedException e) { scheduler.shutdownNow(); Thread.currentThread().interrupt(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0)