Package | Description |
---|---|
org.opendaylight.infrautils.jobcoordinator |
JobCoordinator API. |
org.opendaylight.infrautils.jobcoordinator.internal |
JobCoordinator Implementation. |
Modifier and Type | Method and Description |
---|---|
void |
JobCoordinator.enqueueJob(String key,
Callable<List<com.google.common.util.concurrent.ListenableFuture<Void>>> mainWorker,
RollbackCallable rollbackWorker)
Enqueues a job with a rollback task and DEFAULT_MAX_RETRIES (3) retries..
|
void |
JobCoordinator.enqueueJob(String key,
Callable<List<com.google.common.util.concurrent.ListenableFuture<Void>>> mainWorker,
RollbackCallable rollbackWorker,
int maxRetries)
Enqueues a job with a rollback task and max retries.
|
Modifier and Type | Method and Description |
---|---|
void |
JobCoordinatorImpl.enqueueJob(String key,
Callable<List<com.google.common.util.concurrent.ListenableFuture<Void>>> mainWorker,
RollbackCallable rollbackWorker) |
void |
JobCoordinatorImpl.enqueueJob(String key,
Callable<List<com.google.common.util.concurrent.ListenableFuture<Void>>> mainWorker,
RollbackCallable rollbackWorker,
int maxRetries) |
Copyright © 2019 OpenDaylight. All rights reserved.