Class that represents a checkpointing context for an operator. More...
Classes |
|
| class | Kind |
Public Member Functions |
|
| def | getName (self) |
| Get the optional context name. More... |
|
| def | getKind (self) |
| Get the kind of checkpointing. More... |
|
| def | getCheckpointingInterval (self) |
| Get the checkpointing interval. More... |
|
| def | createCheckpoint (self) |
| Perform synchronous, operator-driven checkpointing. More... |
|
| def | isEnabled (self) |
| Return whether checkpointing is enabled for this operator. More... |
|
Class that represents a checkpointing context for an operator.
| def streams.CheckpointContext.getName | ( | self, | |
| str | |||
| ) |
Get the optional context name.
| def streams.CheckpointContext.getKind | ( | self, | |
| Kind | |||
| ) |
Get the kind of checkpointing.
| def streams.CheckpointContext.getCheckpointingInterval | ( | self, | |
| float | |||
| ) |
Get the checkpointing interval.
| def streams.CheckpointContext.createCheckpoint | ( | self, | |
| bool | |||
| ) |
Perform synchronous, operator-driven checkpointing.
| DataStoreException | if checkpointing cannot be completed successfuly |
| def streams.CheckpointContext.isEnabled | ( | self, | |
| bool | |||
| ) |
Return whether checkpointing is enabled for this operator.
For Streams version 4.0.0.0, this function always returns true.