Class InternalTimersSnapshotReaderWriters
java.lang.Object
org.apache.flink.streaming.api.operators.InternalTimersSnapshotReaderWriters
Readers and writers for different versions of the
InternalTimersSnapshot. Outdated
formats are also kept here for documentation of history backlog.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA reader for aInternalTimersSnapshot.static interfaceA writer for aInternalTimersSnapshot.static classATypeSerializerused to serialize/deserialize aTimerHeapInternalTimer. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotReader<K, N> getReaderForVersion(int version, ClassLoader userCodeClassLoader) getWriterForVersion(int version, InternalTimersSnapshot<K, N> timersSnapshot, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer)
-
Field Details
-
NO_VERSION
public static final int NO_VERSION- See Also:
-
-
Constructor Details
-
InternalTimersSnapshotReaderWriters
public InternalTimersSnapshotReaderWriters()
-
-
Method Details
-
getWriterForVersion
public static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotWriter getWriterForVersion(int version, InternalTimersSnapshot<K, N> timersSnapshot, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer) -
getReaderForVersion
public static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotReader<K,N> getReaderForVersion(int version, ClassLoader userCodeClassLoader)
-