pub fn ttl_from_jlong(ttl_secs: jlong) -> Option<u64>
Convert a Java TTL (jlong) into an optional TTL in seconds. Negative values mean “no TTL” per the Java binding contract.