Class InvokeResult
java.lang.Object
com.scaleoutsoftware.modules.abstractions.InvokeResult
The invoke result is the return value for a method annotated with
SossApiMethod.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ProcessingResultReturnProcessingResult.DoUpdateif the SOSS object was changed,ProcessingResult.NoUpdateif the SOSS object was not changed, andProcessingResult.Removeif the SOSS object should be removed.abstract byte[]Returns the result of theSossApiMethod.
-
Constructor Details
-
InvokeResult
public InvokeResult()Instantiate a new InvokeResult.
-
-
Method Details
-
getResult
public abstract byte[] getResult()Returns the result of theSossApiMethod.- Returns:
- the serialized result.
-
getProcessingResult
ReturnProcessingResult.DoUpdateif the SOSS object was changed,ProcessingResult.NoUpdateif the SOSS object was not changed, andProcessingResult.Removeif the SOSS object should be removed.- Returns:
- the
ProcessingResult.
-