InstanceStartedEvent

data class InstanceStartedEvent(val nt: Long = System.nanoTime(), val ts: Long = System.currentTimeMillis(), val id: String, val summary: InstanceSummary) : InstanceEvent, StatusEvent

An event signaling that the PowerGoblin instance was started.

Constructors

Link copied to clipboard
constructor(nt: Long = System.nanoTime(), ts: Long = System.currentTimeMillis(), id: String, summary: InstanceSummary)

Properties

Link copied to clipboard
open override val id: String

The id of the PowerGoblin instance.

Link copied to clipboard
open override val nt: Long

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

Link copied to clipboard

Summary of the instance's status.

Link copied to clipboard
open override val ts: Long

Event timestamp in milliseconds.

Functions

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