API Reference Method SetTtl(TimeSpan) Assembly: redb.Core.dllSet TTL for the cache.public void SetTtl(TimeSpan ttl)