MultipazProject
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
MultipazProject
multipaz
/
org.multipaz.storage.ephemeral
/
EphemeralStorageItem
Ephemeral
Storage
Item
class
EphemeralStorageItem
(
val
partitionId
:
String
?
,
val
key
:
String
,
var
value
:
ByteString
=
EphemeralStorageTable.EMPTY
,
var
expiration
:
Instant
=
Instant.DISTANT_FUTURE
)
:
Comparable
<
EphemeralStorageItem
>
Members
Constructors
Ephemeral
Storage
Item
Link copied to clipboard
constructor
(
partitionId
:
String
?
,
key
:
String
,
value
:
ByteString
=
EphemeralStorageTable.EMPTY
,
expiration
:
Instant
=
Instant.DISTANT_FUTURE
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
expiration
Link copied to clipboard
var
expiration
:
Instant
key
Link copied to clipboard
val
key
:
String
partition
Id
Link copied to clipboard
val
partitionId
:
String
?
value
Link copied to clipboard
var
value
:
ByteString
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
EphemeralStorageItem
)
:
Int
expired
Link copied to clipboard
fun
expired
(
now
:
Instant
)
:
Boolean