Class ForEachApiProcessor<O>
java.lang.Object
com.scaleoutsoftware.modules.abstractions.ForEachApiProcessor<O>
- Type Parameters:
O- the SOSS object type.
A parallel operation that does not return a result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ProcessingResultevaluate(ApiProcessingContext<O> context, O sossObject, byte[] parameter) Evaluates a SOSS object.
-
Constructor Details
-
ForEachApiProcessor
public ForEachApiProcessor()Instantiate a new ForEachApiProcessor.
-
-
Method Details
-
evaluate
public abstract ProcessingResult evaluate(ApiProcessingContext<O> context, O sossObject, byte[] parameter) Evaluates a SOSS object.- Parameters:
context- theApiProcessingContext.sossObject- the SOSS Object.parameter- the serialized parameter value.- Returns:
ProcessingResult. UseProcessingResult.DoUpdateif the object was mutated,ProcessingResult.NoUpdateif the object was not-mutated, orProcessingResult.Removeif the object should be deleted from ScaleOut.
-