Class TtlStateFactory<K,N,SV,TTLSV,S extends State,IS extends S>
- java.lang.Object
-
- org.apache.flink.runtime.state.ttl.TtlStateFactory<K,N,SV,TTLSV,S,IS>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TtlStateFactory.TtlSerializer<T>
Serializer for user state value with TTL.static class
TtlStateFactory.TtlSerializerSnapshot<T>
ATypeSerializerSnapshot
for TtlSerializer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,N,SV,TTLSV,S extends State,IS extends S>
IScreateStateAndWrapWithTtlIfEnabled(TypeSerializer<N> namespaceSerializer, StateDescriptor<S,SV> stateDesc, KeyedStateBackend<K> stateBackend, TtlTimeProvider timeProvider)
-
-
-
Method Detail
-
createStateAndWrapWithTtlIfEnabled
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
- Throws:
Exception
-
-