ttl毫秒(millisecond的缩写)

Sets SessionCacheConfig.ttl in milliseconds, where Long.MAX_VALUE disables expiry; the Duration constructor param is mangled for Java.