Is it necessary to add a private method here?
TtlValue<UV> ttlValue = getWrappedWithTtlCheckAndUpdate(
() -> original.get(key), v -> original.put(key, v), ()
-> original.remove(key));
return ttlValue == null ? null : ttlValue.getUserValue();
looks better to me.[ Full content available at: https://github.com/apache/flink/pull/6707 ] This message was relayed via gitbox.apache.org for [email protected]
