TimeToLive

object TimeToLive

Constructs TimeToLive values.

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Used in pattern matching to deconstruct a time-to-live instance.

Used in pattern matching to deconstruct a time-to-live instance.

Value parameters:
ttl

time-to-live value

Returns:

a Some containing the TTL duration if the selector value is not null, otherwise None