| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.deployment | |
| org.apache.flink.runtime.execution | |
| org.apache.flink.runtime.executiongraph | |
| org.apache.flink.runtime.jobgraph.tasks | |
| org.apache.flink.runtime.messages.checkpoint |
This package contains the messages that are sent between
JobManager
and TaskManager to coordinate the checkpoint snapshots of the
distributed dataflow. |
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.taskmanager |
| Modifier and Type | Method and Description |
|---|---|
SerializedValue<StateHandle<?>> |
StateForTask.getState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PendingCheckpoint.acknowledgeTask(ExecutionAttemptID attemptID,
SerializedValue<StateHandle<?>> state) |
| Constructor and Description |
|---|
StateForTask(SerializedValue<StateHandle<?>> state,
JobVertexID operatorId,
int subtask) |
| Modifier and Type | Method and Description |
|---|---|
SerializedValue<StateHandle<?>> |
TaskDeploymentDescriptor.getOperatorState() |
| Constructor and Description |
|---|
TaskDeploymentDescriptor(org.apache.flink.api.common.JobID jobID,
JobVertexID vertexID,
ExecutionAttemptID executionId,
String taskName,
int indexInSubtaskGroup,
int numberOfSubtasks,
org.apache.flink.configuration.Configuration jobConfiguration,
org.apache.flink.configuration.Configuration taskConfiguration,
String invokableClassName,
List<ResultPartitionDeploymentDescriptor> producedPartitions,
List<InputGateDeploymentDescriptor> inputGates,
List<BlobKey> requiredJarFiles,
int targetSlotNumber,
SerializedValue<StateHandle<?>> operatorState)
Constructs a task deployment descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Environment.acknowledgeCheckpoint(long checkpointId,
StateHandle<?> state)
Confirms that the invokable has successfully completed all steps it needed to
to for the checkpoint with the give checkpoint-ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Execution.setInitialState(SerializedValue<StateHandle<?>> initialState) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OperatorStateCarrier<T extends StateHandle<?>>
This interface must be implemented by any invokable that has recoverable state.
|
| Modifier and Type | Method and Description |
|---|---|
SerializedValue<StateHandle<?>> |
AcknowledgeCheckpoint.getState() |
| Constructor and Description |
|---|
AcknowledgeCheckpoint(org.apache.flink.api.common.JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId,
SerializedValue<StateHandle<?>> state) |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteStreamStateHandle
Statehandle that writes/reads the contents of the serializable checkpointed
state to the provided input and outputstreams using default java
serialization.
|
class |
FileStateHandle
Statehandle that writes the checkpointed state to a random file in the
provided checkpoint directory.
|
class |
LocalStateHandle
A StateHandle that includes the operator states directly.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends StateHandle<?>> |
StateUtils.setOperatorState(OperatorStateCarrier<?> op,
StateHandle<?> state)
Utility method to define a common generic bound to be used for setting a generic state
handle on a generic state carrier.
|
| Modifier and Type | Method and Description |
|---|---|
StateHandle<T> |
StateHandleProvider.createStateHandle(T state)
Creates a new
StateHandle instance that will be used to store the
state checkpoint. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends StateHandle<?>> |
StateUtils.setOperatorState(OperatorStateCarrier<?> op,
StateHandle<?> state)
Utility method to define a common generic bound to be used for setting a generic state
handle on a generic state carrier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeEnvironment.acknowledgeCheckpoint(long checkpointId,
StateHandle<?> state) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.