public class RegisteredPriorityQueueStateBackendMetaInfo<T> extends RegisteredStateMetaInfoBase
name
Constructor and Description |
---|
RegisteredPriorityQueueStateBackendMetaInfo(StateMetaInfoSnapshot snapshot) |
RegisteredPriorityQueueStateBackendMetaInfo(String name,
TypeSerializer<T> elementSerializer) |
Modifier and Type | Method and Description |
---|---|
RegisteredPriorityQueueStateBackendMetaInfo |
deepCopy() |
TypeSerializer<T> |
getElementSerializer() |
TypeSerializer<T> |
getPreviousElementSerializer() |
StateMetaInfoSnapshot |
snapshot() |
TypeSerializerSchemaCompatibility<T> |
updateElementSerializer(TypeSerializer<T> newElementSerializer) |
RegisteredPriorityQueueStateBackendMetaInfo<T> |
withSerializerUpgradesAllowed()
create a new metadata object with Lazy serializer provider using existing one as a snapshot.
|
fromMetaInfoSnapshot, getName
public RegisteredPriorityQueueStateBackendMetaInfo(@Nonnull String name, @Nonnull TypeSerializer<T> elementSerializer)
public RegisteredPriorityQueueStateBackendMetaInfo(StateMetaInfoSnapshot snapshot)
@Nonnull public StateMetaInfoSnapshot snapshot()
snapshot
in class RegisteredStateMetaInfoBase
@Nonnull public RegisteredPriorityQueueStateBackendMetaInfo<T> withSerializerUpgradesAllowed()
RegisteredStateMetaInfoBase
withSerializerUpgradesAllowed
in class RegisteredStateMetaInfoBase
@Nonnull public TypeSerializer<T> getElementSerializer()
@Nonnull public TypeSerializerSchemaCompatibility<T> updateElementSerializer(TypeSerializer<T> newElementSerializer)
@Nullable public TypeSerializer<T> getPreviousElementSerializer()
public RegisteredPriorityQueueStateBackendMetaInfo deepCopy()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.