Class ExecuteDurableTaskSpaceOperationResult
java.lang.Object
com.gigaspaces.internal.client.spaceproxy.operations.SpaceOperationResult
com.gigaspaces.internal.client.spaceproxy.operations.ExecuteDurableTaskSpaceOperationResult
- All Implemented Interfaces:
RemoteOperationResult, Textualizable, SmartExternalizable, Externalizable, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAggregates the per-partition outcomes of a durable task execution: a returned result wins, then a security denial, a task failure, an already-executing task, any other error, and only if every partition does not know the task a NoSuchElementException.voidvoidvoidtoText(Textualizer textualizer) voidMethods inherited from class SpaceOperationResult
getExecutionException, getExplainPlan, hasException, onUnexpectedException, setExecutionException, setExplainPlan, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ExecuteDurableTaskSpaceOperationResult
public ExecuteDurableTaskSpaceOperationResult()
-
-
Method Details
-
getResult
-
setResult
-
toText
- Specified by:
toTextin interfaceTextualizable- Overrides:
toTextin classSpaceOperationResult
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSpaceOperationResult- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSpaceOperationResult- Throws:
IOExceptionClassNotFoundException
-
aggregate
public static ExecuteDurableTaskSpaceOperationResult aggregate(List<ExecuteDurableTaskSpaceOperationResult> results) throws Exception Aggregates the per-partition outcomes of a durable task execution: a returned result wins, then a security denial, a task failure, an already-executing task, any other error, and only if every partition does not know the task a NoSuchElementException. Otherwise the task ran and returned null.- Throws:
Exception
-