kotlin-client
/
com.couchbase.client.kotlin.kv
/
Expiry
/
Companion
Companion
object
Companion
Content copied to clipboard
Functions
Functions
none
Link copied to clipboard
fun
none
():
Expiry
Content copied to clipboard
The document will never expire.
of
Link copied to clipboard
fun
of
(duration:
Duration
):
Expiry
Content copied to clipboard
The document will expire after the given duration.
fun
of
(instant:
Instant
):
Expiry
Content copied to clipboard
The document will expire at the given instant.
ofDays
Link copied to clipboard
fun
ofDays
(days:
Long
):
Expiry
Content copied to clipboard
The document will expire after the given number of days.
ofHours
Link copied to clipboard
fun
ofHours
(hours:
Long
):
Expiry
Content copied to clipboard
The document will expire after the given number of hours.
ofMinutes
Link copied to clipboard
fun
ofMinutes
(minutes:
Long
):
Expiry
Content copied to clipboard
The document will expire after the given number of minutes.
ofSeconds
Link copied to clipboard
fun
ofSeconds
(seconds:
Long
):
Expiry
Content copied to clipboard
The document will expire after the given number of seconds.