public class TaskPackingUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static TaskInfo |
pack(TaskInfo taskInfo)
Packs the TaskInfo in preparation for sending it to the Executor.
|
static TaskInfo |
unpack(TaskInfo taskInfo)
This method reverses the work done in
pack(TaskInfo) such that the original TaskInfo is
regenerated. |
public static TaskInfo pack(TaskInfo taskInfo)
unpack(TaskInfo)
public static TaskInfo unpack(TaskInfo taskInfo)
pack(TaskInfo)
such that the original TaskInfo is
regenerated. If the provided TaskInfo
doesn't appear to have packed data then this operation does
nothing.pack(TaskInfo)