Minix
5.0.0-alpha
module-common
/
dev.racci.minix.api.collections.expiring
/
Expireable
Expireable
@
ApiStatus.Internal
@
ApiStatus.Experimental
@
ApiStatus.AvailableSince
(
value
=
"5.0.0"
)
interface
Expireable
<
V
>
:
Delayed
Functions
Properties
Inheritors
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Delayed
?
)
:
Int
get
Delay
Link copied to clipboard
open
override
fun
getDelay
(
unit
:
TimeUnit
)
:
Long
remaining
Time
Link copied to clipboard
open
fun
remainingTime
(
current
:
Instant
?
=
null
)
:
Duration
The
Duration
of time until the value expires.
Properties
expire
In
Link copied to clipboard
abstract
val
expireIn
:
Duration
start
Time
Link copied to clipboard
abstract
val
startTime
:
Instant
value
Link copied to clipboard
abstract
val
value
:
V
Inheritors
ExpirationMapValue
Link copied to clipboard
ExpirationNode
Link copied to clipboard