Class CustomPojoSerializationJob
java.lang.Object
org.apache.ignite.example.serialization.CustomPojoSerializationJob
- All Implemented Interfaces:
ComputeJob<JsonArg,JsonResult>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteAsync(JobExecutionContext ctx, JsonArg arg) Executes the job on an Ignite node.Marshaller<JsonArg,byte[]> Marshaller for the input argument.Marshaller<JsonResult,byte[]> Marshaller for the job result.
-
Constructor Details
-
CustomPojoSerializationJob
public CustomPojoSerializationJob()
-
-
Method Details
-
executeAsync
Description copied from interface:ComputeJobExecutes the job on an Ignite node.- Specified by:
executeAsyncin interfaceComputeJob<JsonArg,JsonResult> - Parameters:
ctx- The execution context.arg- Job arguments.- Returns:
- Job future. Can be null if the job is synchronous and does not return any result.
-
inputMarshaller
Description copied from interface:ComputeJobMarshaller for the input argument. Default isnullmeaning that only primitive types are supported.- Specified by:
inputMarshallerin interfaceComputeJob<JsonArg,JsonResult> - Returns:
- Input marshaller.
-
resultMarshaller
Description copied from interface:ComputeJobMarshaller for the job result. Default isnullmeaning that only primitive types are supported.- Specified by:
resultMarshallerin interfaceComputeJob<JsonArg,JsonResult> - Returns:
- Result marshaller.
-