Class CacheConfigurationCollectorTask
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorMultiNodeTask<A,R,R>
-
- org.apache.ignite.internal.visor.VisorOneNodeTask<CacheConfigurationCollectorTaskArg,Map<String,CacheConfiguration>>
-
- org.apache.ignite.internal.management.cache.CacheConfigurationCollectorTask
-
- All Implemented Interfaces:
Serializable,ComputeTask<VisorTaskArgument<CacheConfigurationCollectorTaskArg>,VisorTaskResult<Map<String,CacheConfiguration>>>
@GridInternal public class CacheConfigurationCollectorTask extends VisorOneNodeTask<CacheConfigurationCollectorTaskArg,Map<String,CacheConfiguration>>
Task that collect cache metrics from all nodes.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.visor.VisorMultiNodeTask
debug, ignite, start, taskArg
-
-
Constructor Summary
Constructors Constructor Description CacheConfigurationCollectorTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CacheConfigurationCollectorJobjob(CacheConfigurationCollectorTaskArg arg)protected @Nullable Map<String,CacheConfiguration>reduce0(List<ComputeJobResult> results)Actual reduce logic.
-
-
-
Method Detail
-
job
protected CacheConfigurationCollectorJob job(CacheConfigurationCollectorTaskArg arg)
- Specified by:
jobin classVisorMultiNodeTask<CacheConfigurationCollectorTaskArg,Map<String,CacheConfiguration>,Map<String,CacheConfiguration>>- Parameters:
arg- Task arg.- Returns:
- New job.
-
reduce0
@Nullable protected @Nullable Map<String,CacheConfiguration> reduce0(List<ComputeJobResult> results) throws IgniteException
Actual reduce logic.- Overrides:
reduce0in classVisorOneNodeTask<CacheConfigurationCollectorTaskArg,Map<String,CacheConfiguration>>- Parameters:
results- Job results.- Returns:
- Task result.
- Throws:
IgniteException- If reduction or results caused an error.
-
-