ConfigureResourceEvent

data class ConfigureResourceEvent(val nt: Long = System.nanoTime(), val ts: Long = System.currentTimeMillis(), val unit: String, val resource: String, val name: String?, val description: String? = null) : SessionEvent

Represents an event for configuring a resource.

Constructors

Link copied to clipboard
constructor(nt: Long = System.nanoTime(), ts: Long = System.currentTimeMillis(), unit: String, resource: String, name: String?, description: String? = null)

Properties

Link copied to clipboard
val description: String? = null

Description of the meter

Link copied to clipboard
val name: String?

New name of the meter

Link copied to clipboard
open override val nt: Long

Event timestamp in nanoseconds (more precise, but overflows).

Link copied to clipboard

Resource to configure

Link copied to clipboard
open override val ts: Long

Event timestamp in milliseconds.

Link copied to clipboard

Unit to configure

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String