Skip to main content

ttl_from_jlong

Function ttl_from_jlong 

Source
pub fn ttl_from_jlong(ttl_secs: jlong) -> Option<u64>
Expand description

Convert a Java TTL (jlong) into an optional TTL in seconds. Negative values mean “no TTL” per the Java binding contract.