Modifier and Type | Class and Description |
---|---|
static class |
TtlStateFactory.TtlSerializer<T>
Serializer for user state value with TTL.
|
static class |
TtlStateFactory.TtlSerializerSnapshot<T>
A
TypeSerializerSnapshot for TtlSerializer. |
Modifier and Type | Method and Description |
---|---|
static <K,N,SV,TTLSV,S extends State,IS extends S> |
createStateAndWrapWithTtlIfEnabled(TypeSerializer<N> namespaceSerializer,
StateDescriptor<S,SV> stateDesc,
KeyedStateBackend<K> stateBackend,
TtlTimeProvider timeProvider) |
public static <K,N,SV,TTLSV,S extends State,IS extends S> IS createStateAndWrapWithTtlIfEnabled(TypeSerializer<N> namespaceSerializer, StateDescriptor<S,SV> stateDesc, KeyedStateBackend<K> stateBackend, TtlTimeProvider timeProvider) throws Exception
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.