public class StateConfigUtil extends Object
StateTtlConfig object.| Constructor and Description |
|---|
StateConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.api.common.state.StateTtlConfig |
createTtlConfig(long retentionTime)
Creates a
StateTtlConfig depends on retentionTime parameter. |
static boolean |
isStateImmutableInStateBackend(org.apache.flink.runtime.state.KeyedStateBackend<?> keyedStateBackend) |
public static org.apache.flink.api.common.state.StateTtlConfig createTtlConfig(long retentionTime)
StateTtlConfig depends on retentionTime parameter.retentionTime - State ttl time which unit is MILLISECONDS.public static boolean isStateImmutableInStateBackend(org.apache.flink.runtime.state.KeyedStateBackend<?> keyedStateBackend)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.