Class InternalDurableTaskWrapper<T extends Serializable,R>
java.lang.Object
org.openspaces.core.executor.internal.InternalSpaceTaskWrapper<T>
org.openspaces.core.executor.internal.InternalDistributedSpaceTaskWrapper<T,R>
org.openspaces.core.executor.internal.InternalDurableTaskWrapper<T,R>
- All Implemented Interfaces:
AsyncResultFilter<T>,AsyncResultsReducer<T,,R> ContextSettable,DistributedSpaceTask<T,,R> DurableTask,SpaceTask<T>,SpaceTaskWrapper,SmartExternalizable,Externalizable,Serializable
public class InternalDurableTaskWrapper<T extends Serializable,R>
extends InternalDistributedSpaceTaskWrapper<T,R>
implements DurableTask, ContextSettable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.async.AsyncResultFilter
AsyncResultFilter.Decision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel()execute(IJSpace space, Transaction tx) voidsetExecutionContext(Object context) Methods inherited from class org.openspaces.core.executor.internal.InternalDistributedSpaceTaskWrapper
onResult, readExternal, reduce, writeExternalMethods inherited from class org.openspaces.core.executor.internal.InternalSpaceTaskWrapper
getRouting, getSupportCodeChangeAnnotationContainer, getTask, getWrappedTask, setRoutingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
InternalDurableTaskWrapper
public InternalDurableTaskWrapper() -
InternalDurableTaskWrapper
-
-
Method Details
-
setExecutionContext
- Specified by:
setExecutionContextin interfaceContextSettable
-
execute
- Specified by:
executein interfaceSpaceTask<T extends Serializable>- Overrides:
executein classInternalSpaceTaskWrapper<T extends Serializable>- Throws:
Exception
-
cancel
- Specified by:
cancelin interfaceDurableTask- Throws:
Exception
-