Package org.apache.ignite.internal
Interface GridTaskSessionInternal
-
- All Superinterfaces:
ComputeTaskSession
- All Known Implementing Classes:
GridJobSessionImpl,GridTaskSessionImpl
public interface GridTaskSessionInternal extends ComputeTaskSession
Internal task session interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCheckpointSpi()@Nullable IgniteUuidgetJobId()booleanisClosed()booleanisFullSupport()booleanisTaskNode()voidonClosed()Closes session.GridTaskSessionInternalsession()-
Methods inherited from interface org.apache.ignite.compute.ComputeTaskSession
addAttributeListener, getAttribute, getAttributes, getClassLoader, getEndTime, getId, getJobSibling, getJobSiblings, getStartTime, getTaskName, getTaskNodeId, getTopology, loadCheckpoint, mapFuture, refreshJobSiblings, removeAttributeListener, removeCheckpoint, saveCheckpoint, saveCheckpoint, saveCheckpoint, setAttribute, setAttributes, waitForAttribute, waitForAttribute, waitForAttributes, waitForAttributes
-
-
-
-
Method Detail
-
getCheckpointSpi
String getCheckpointSpi()
- Returns:
- Checkpoint SPI name.
-
getJobId
@Nullable @Nullable IgniteUuid getJobId()
- Returns:
- Job ID (possibly null).
-
isTaskNode
boolean isTaskNode()
- Returns:
Trueif task node.
-
onClosed
void onClosed()
Closes session.
-
isClosed
boolean isClosed()
- Returns:
- Checks if session is closed.
-
session
GridTaskSessionInternal session()
- Returns:
- Task session.
-
isFullSupport
boolean isFullSupport()
- Returns:
Trueif checkpoints and attributes are enabled.
-
-