public abstract class GridScheduleProcessorAdapter extends GridProcessorAdapter
ctx, log| Modifier | Constructor and Description |
|---|---|
protected |
GridScheduleProcessorAdapter(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
abstract <R> GridSchedulerFuture<R> |
schedule(Callable<R> c,
String pattern) |
abstract GridSchedulerFuture<?> |
schedule(Runnable c,
String pattern) |
addAttributes, assertParameter, collectDiscoveryData, onDiscoveryDataReceived, onKernalStart, onKernalStop, printMemoryStats, start, stop, toString, validateNodeprotected GridScheduleProcessorAdapter(GridKernalContext ctx)
ctx - Kernal context.public abstract GridSchedulerFuture<?> schedule(Runnable c, String pattern)
c - Closure to schedule to run as a background cron-based job.pattern - Scheduling pattern in UNIX cron format with prefix "{n1, n2} " where n1 is delay of scheduling
and n2 is the number of task calls.public abstract <R> GridSchedulerFuture<R> schedule(Callable<R> c, String pattern)
c - Closure to schedule to run as a background cron-based job.pattern - Scheduling pattern in UNIX cron format with prefix "{n1, n2} " where n1 is delay of scheduling
and n2 is the number of task calls.Copyright © 2014. All rights reserved.