Package | Description |
---|---|
org.apache.reef.io.checkpoint |
Checkpoints that provide APIs and implementations to store and retrieve the state of a task.
|
org.apache.reef.io.checkpoint.fs |
Provides an example implementation of a CheckpointService based on a file system.
|
Modifier and Type | Method and Description |
---|---|
CheckpointID |
CheckpointService.commit(CheckpointService.CheckpointWriteChannel channel)
Closes an existing checkpoint for writes and returns the CheckpointID that can be later
used to get the read-only access to this checkpoint.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CheckpointService.delete(CheckpointID checkpointId)
Discards an existing checkpoint identified by its CheckpointID.
|
CheckpointService.CheckpointReadChannel |
CheckpointService.open(CheckpointID checkpointId)
Returns a reading channel to a checkpoint identified by the CheckpointID.
|
Modifier and Type | Class and Description |
---|---|
class |
FSCheckpointID
A FileSystem based checkpoint ID contains reference to the Path
where the checkpoint has been saved.
|
Modifier and Type | Method and Description |
---|---|
CheckpointID |
FSCheckpointService.commit(CheckpointService.CheckpointWriteChannel ch) |
Modifier and Type | Method and Description |
---|---|
boolean |
FSCheckpointService.delete(CheckpointID id) |
CheckpointService.CheckpointReadChannel |
FSCheckpointService.open(CheckpointID id) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.