Class StateConfigUtil
- java.lang.Object
-
- org.apache.flink.table.runtime.util.StateConfigUtil
-
public class StateConfigUtil extends Object
Utility to create aStateTtlConfig
object.
-
-
Constructor Summary
Constructors Constructor Description StateConfigUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateTtlConfig
createTtlConfig(long retentionTime)
Creates aStateTtlConfig
depends on retentionTime parameter.
-
-
-
Method Detail
-
createTtlConfig
public static StateTtlConfig createTtlConfig(long retentionTime)
Creates aStateTtlConfig
depends on retentionTime parameter.- Parameters:
retentionTime
- State ttl time which unit is MILLISECONDS.
-
-