## Uses of Class
oracle.nosql.driver.TimeToLive

- Packages that use TimeToLive
  Package | Description
  --- | ---
  oracle.nosql.driver | Contains the public API for using the Oracle NoSQL Database as well as configuration and common parameter classes used in database operations.
  oracle.nosql.driver.ops | Contains the input and response classes used for Oracle NoSQL Database operations.

- - ### Uses of TimeToLive in oracle.nosql.driver

    Fields in oracle.nosql.driver declared as TimeToLive
    Modifier and Type | Field | Description
    --- | --- | ---
    `static TimeToLive` | TimeToLive.`DO_NOT_EXPIRE` | A convenience constant that can be used as an argument to indicate that the row should not expire.

    Methods in oracle.nosql.driver that return TimeToLive
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TimeToLive` | TimeToLive.`fromExpirationTime​(long expirationTime, long referenceTime)` | Returns an instance of TimeToLive based on an absolute expiration time and a reference time.
    `static TimeToLive` | TimeToLive.`ofDays​(long days)` | Creates a duration using a period of 24 hour days.
    `static TimeToLive` | TimeToLive.`ofHours​(long hours)` | Creates a duration using a period of hours.

  - ### Uses of TimeToLive in oracle.nosql.driver.ops

    Methods in oracle.nosql.driver.ops that return TimeToLive
    Modifier and Type | Method | Description
    --- | --- | ---
    `TimeToLive` | PutRequest.`getTTL()` | Returns the `TimeToLive` value, if set.

    Methods in oracle.nosql.driver.ops with parameters of type TimeToLive
    Modifier and Type | Method | Description
    --- | --- | ---
    `PutRequest` | PutRequest.`setTTL​(TimeToLive ttl)` | Sets the `TimeToLive` value, causing the time to live on the row to be set to the specified value on put.