public class TtlStateFactory<N,SV,S extends org.apache.flink.api.common.state.State,IS extends S> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TtlStateFactory.TtlSerializer<T>
Serializer for user state value with TTL.
|
| Modifier and Type | Method and Description |
|---|---|
static <N,SV,S extends org.apache.flink.api.common.state.State,IS extends S> |
createStateAndWrapWithTtlIfEnabled(org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer,
org.apache.flink.api.common.state.StateDescriptor<S,SV> stateDesc,
KeyedStateFactory originalStateFactory,
TtlTimeProvider timeProvider) |
public static <N,SV,S extends org.apache.flink.api.common.state.State,IS extends S> IS createStateAndWrapWithTtlIfEnabled(org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer,
org.apache.flink.api.common.state.StateDescriptor<S,SV> stateDesc,
KeyedStateFactory originalStateFactory,
TtlTimeProvider timeProvider)
throws Exception
ExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.