public class NodeConfiguratorImpl extends Object implements NodeConfigurator
| Constructor and Description |
|---|
NodeConfiguratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
enqueueJob(String key,
Callable<com.google.common.util.concurrent.ListenableFuture<T>> mainWorker)
Enqueues a job in nodeconfigurator.
|
public <T> com.google.common.util.concurrent.ListenableFuture<T> enqueueJob(String key, Callable<com.google.common.util.concurrent.ListenableFuture<T>> mainWorker)
NodeConfiguratorenqueueJob in interface NodeConfiguratorkey - The job's key. Jobs with the same key are run sequentially.
Jobs with different keys are run in parallel.mainWorker - The task that runs for the job.public void close()
close in interface AutoCloseableCopyright © 2019 OpenDaylight. All rights reserved.