EphemeralStorageItem

class EphemeralStorageItem(val partitionId: String?, val key: String, var value: ByteString = EphemeralStorageTable.EMPTY, var expiration: Instant = Instant.DISTANT_FUTURE) : Comparable<EphemeralStorageItem>

Constructors

Link copied to clipboard
constructor(partitionId: String?, key: String, value: ByteString = EphemeralStorageTable.EMPTY, expiration: Instant = Instant.DISTANT_FUTURE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var expiration: Instant
Link copied to clipboard
val key: String
Link copied to clipboard
Link copied to clipboard
var value: ByteString

Functions

Link copied to clipboard
open operator override fun compareTo(other: EphemeralStorageItem): Int
Link copied to clipboard
fun expired(now: Instant): Boolean