Package | Description |
---|---|
org.apache.flink.runtime.state | |
org.apache.flink.streaming.api.functions.source |
Modifier and Type | Method and Description |
---|---|
static <T> SerializedCheckpointData[] |
SerializedCheckpointData.fromDeque(ArrayDeque<Tuple2<Long,List<T>>> checkpoints,
TypeSerializer<T> serializer)
Converts a list of checkpoints with elements into an array of SerializedCheckpointData.
|
static <T> SerializedCheckpointData[] |
SerializedCheckpointData.fromDeque(ArrayDeque<Tuple2<Long,List<T>>> checkpoints,
TypeSerializer<T> serializer,
DataOutputSerializer outputBuffer)
Converts a list of checkpoints into an array of SerializedCheckpointData.
|
Modifier and Type | Method and Description |
---|---|
static <T> ArrayDeque<Tuple2<Long,List<T>>> |
SerializedCheckpointData.toDeque(SerializedCheckpointData[] data,
TypeSerializer<T> serializer)
De-serializes an array of SerializedCheckpointData back into an ArrayDeque of element checkpoints.
|
Modifier and Type | Method and Description |
---|---|
SerializedCheckpointData[] |
MultipleIdsMessageAcknowledgingSourceBase.snapshotState(long checkpointId,
long checkpointTimestamp) |
SerializedCheckpointData[] |
MessageAcknowledgingSourceBase.snapshotState(long checkpointId,
long checkpointTimestamp) |
Modifier and Type | Method and Description |
---|---|
void |
MessageAcknowledgingSourceBase.restoreState(SerializedCheckpointData[] state) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.