@GridInternal public class VisorLicenseCollectTask extends VisorMultiNodeTask<Void,Iterable<GridBiTuple<UUID,VisorLicense>>,VisorLicense>
taskArg| Constructor and Description |
|---|
VisorLicenseCollectTask() |
| Modifier and Type | Method and Description |
|---|---|
protected org.gridgain.grid.kernal.visor.cmd.tasks.VisorLicenseCollectTask.VisorLicenseCollectJob |
job(Void arg) |
Iterable<GridBiTuple<UUID,VisorLicense>> |
reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
map, resultprotected org.gridgain.grid.kernal.visor.cmd.tasks.VisorLicenseCollectTask.VisorLicenseCollectJob job(Void arg)
job in class VisorMultiNodeTask<Void,Iterable<GridBiTuple<UUID,VisorLicense>>,VisorLicense>arg - Task arg.@Nullable public Iterable<GridBiTuple<UUID,VisorLicense>> reduce(List<GridComputeJobResult> results) throws GridException
GridComputeTaskFuture.get() method.
Note, that if some jobs did not succeed and could not be failed over then the list of results passed into this method will include the failed results. Otherwise, failed results will not be in the list.
results - Received results of broadcasted remote executions. Note that if task class has
GridComputeTaskNoResultCache annotation, then this list will be empty.GridException - If reduction or results caused an error. This exception will
be thrown out of GridComputeTaskFuture.get() method.Copyright © 2014. All rights reserved.