@Internal public class TimerSerializerSnapshot<K,N> extends CompositeTypeSerializerSnapshot<TimerHeapInternalTimer<K,N>,TimerSerializer<K,N>>
TimerSerializer
.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
Constructor and Description |
---|
TimerSerializerSnapshot() |
TimerSerializerSnapshot(TimerSerializer<K,N> timerSerializer) |
Modifier and Type | Method and Description |
---|---|
protected TimerSerializer<K,N> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
protected int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
protected TypeSerializer<?>[] |
getNestedSerializers(TimerSerializer<K,N> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public TimerSerializerSnapshot()
public TimerSerializerSnapshot(TimerSerializer<K,N> timerSerializer)
protected int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<TimerHeapInternalTimer<K,N>,TimerSerializer<K,N>>
protected TimerSerializer<K,N> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<TimerHeapInternalTimer<K,N>,TimerSerializer<K,N>>
nestedSerializers
- array of nested serializers to create the outer serializer with.protected TypeSerializer<?>[] getNestedSerializers(TimerSerializer<K,N> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<TimerHeapInternalTimer<K,N>,TimerSerializer<K,N>>
outerSerializer
- the outer serializer.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.