public class GridJobExecuteRequest extends MessageAdapter implements GridTaskMessage
MessageAdapter.Typereader, readState| Constructor and Description |
|---|
GridJobExecuteRequest()
No-op constructor to support
Externalizable interface. |
GridJobExecuteRequest(IgniteUuid sesId,
IgniteUuid jobId,
String taskName,
String userVer,
String taskClsName,
byte[] jobBytes,
ComputeJob job,
long startTaskTime,
long timeout,
Collection<UUID> top,
byte[] siblingsBytes,
Collection<ComputeJobSibling> siblings,
byte[] sesAttrsBytes,
Map<Object,Object> sesAttrs,
byte[] jobAttrsBytes,
Map<? extends Serializable,? extends Serializable> jobAttrs,
String cpSpi,
IgniteUuid clsLdrId,
DeploymentMode depMode,
boolean dynamicSiblings,
Map<UUID,IgniteUuid> ldrParticipants,
boolean forceLocDep,
boolean sesFullSup,
boolean internal,
UUID subjId) |
setReader, skipRecoverypublic GridJobExecuteRequest()
Externalizable interface.public GridJobExecuteRequest(IgniteUuid sesId, IgniteUuid jobId, String taskName, String userVer, String taskClsName, byte[] jobBytes, ComputeJob job, long startTaskTime, long timeout, @Nullable Collection<UUID> top, byte[] siblingsBytes, Collection<ComputeJobSibling> siblings, byte[] sesAttrsBytes, Map<Object,Object> sesAttrs, byte[] jobAttrsBytes, Map<? extends Serializable,? extends Serializable> jobAttrs, String cpSpi, IgniteUuid clsLdrId, DeploymentMode depMode, boolean dynamicSiblings, Map<UUID,IgniteUuid> ldrParticipants, boolean forceLocDep, boolean sesFullSup, boolean internal, UUID subjId)
sesId - Task session ID.jobId - Job ID.taskName - Task name.userVer - Code version.taskClsName - Fully qualified task name.jobBytes - Job serialized body.job - Job.startTaskTime - Task execution start time.timeout - Task execution timeout.top - Topology.siblingsBytes - Serialized collection of split siblings.siblings - Collection of split siblings.sesAttrsBytes - Map of session attributes.sesAttrs - Session attributes.jobAttrsBytes - Job context attributes.jobAttrs - Job attributes.cpSpi - Collision SPI.clsLdrId - Task local class loader id.depMode - Task deployment mode.dynamicSiblings - True if siblings are dynamic.ldrParticipants - Other node class loader IDs that can also load classes.forceLocDep - True If remote node should ignore deployment settings.sesFullSup - True if session attributes are disabled.internal - True if internal job.subjId - Subject ID.public IgniteUuid getSessionId()
getSessionId in interface GridTaskMessagepublic IgniteUuid getJobId()
public String getTaskClassName()
public String getTaskName()
public String getUserVersion()
public byte[] getJobBytes()
public ComputeJob getJob()
public long getStartTaskTime()
public long getTimeout()
public long getCreateTime()
public byte[] getSiblingsBytes()
public Collection<ComputeJobSibling> getSiblings()
public byte[] getSessionAttributesBytes()
public byte[] getJobAttributesBytes()
public Map<? extends Serializable,? extends Serializable> getJobAttributes()
public String getCheckpointSpi()
public IgniteUuid getClassLoaderId()
public DeploymentMode getDeploymentMode()
public boolean isDynamicSiblings()
public Map<UUID,IgniteUuid> getLoaderParticipants()
public boolean isForceLocalDeployment()
true if deployment should always be used.@Nullable public Collection<UUID> topology()
public boolean isSessionFullSupport()
True if session attributes are enabled.public boolean isInternal()
True if internal job.public UUID getSubjectId()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class MessageAdapterbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class MessageAdapterbuf - Byte buffer.public byte directType()
directType in class MessageAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015