Class ConsistencyStatusTask
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorMultiNodeTask<A,ConsistencyTaskResult,J>
-
- org.apache.ignite.internal.management.consistency.AbstractConsistencyTask<NoArg,String>
-
- org.apache.ignite.internal.management.consistency.ConsistencyStatusTask
-
- All Implemented Interfaces:
Serializable,ComputeTask<VisorTaskArgument<NoArg>,VisorTaskResult<ConsistencyTaskResult>>
public class ConsistencyStatusTask extends AbstractConsistencyTask<NoArg,String>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ConcurrentHashMap<String,String>MAPStatus map.static StringNOTHING_FOUNDNothing found.-
Fields inherited from class org.apache.ignite.internal.visor.VisorMultiNodeTask
debug, ignite, start, taskArg
-
-
Constructor Summary
Constructors Constructor Description ConsistencyStatusTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VisorJob<NoArg,String>job(NoArg arg)protected ConsistencyTaskResultreduce0(List<ComputeJobResult> results)Actual reduce logic.
-
-
-
Field Detail
-
NOTHING_FOUND
public static final String NOTHING_FOUND
Nothing found.- See Also:
- Constant Field Values
-
MAP
public static final ConcurrentHashMap<String,String> MAP
Status map.
-
-
Method Detail
-
job
protected VisorJob<NoArg,String> job(NoArg arg)
- Specified by:
jobin classVisorMultiNodeTask<NoArg,ConsistencyTaskResult,String>- Parameters:
arg- Task arg.- Returns:
- New job.
-
reduce0
protected ConsistencyTaskResult reduce0(List<ComputeJobResult> results) throws IgniteException
Actual reduce logic.- Overrides:
reduce0in classAbstractConsistencyTask<NoArg,String>- Parameters:
results- Job results.- Returns:
- Task result.
- Throws:
IgniteException- If reduction or results caused an error.
-
-