public class GridJobExecuteRequest extends Object implements ExecutorAwareMessage
DIRECT_TYPE_SIZE
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,
int[] cacheIds,
int part,
AffinityTopologyVersion topVer,
String execName) |
public 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, @Nullable int[] cacheIds, int part, @Nullable AffinityTopologyVersion topVer, @Nullable String execName)
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.cacheIds
- Caches' identifiers to reserve partition.part
- Partition to lock.topVer
- Affinity topology version of job mapping.execName
- The name of the custom named executor.public IgniteUuid getSessionId()
public 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 int[] getCacheIds()
public int getPartition()
public String executorName()
executorName
in interface ExecutorAwareMessage
null
In case the custom executor is not provided.public AffinityTopologyVersion getTopVer()
public void onAckReceived()
onAckReceived
in interface Message
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017