InstanceStoppedEvent

data class InstanceStoppedEvent(val nanoTime: Long = System.nanoTime(), val systemTimestamp: Long = System.currentTimeMillis(), val id: String) : InstanceEvent, StatusEvent

An event signaling that the PowerGoblin instance was stopped.

Constructors

Link copied to clipboard
constructor(nanoTime: Long = System.nanoTime(), systemTimestamp: Long = System.currentTimeMillis(), id: String)

Properties

Link copied to clipboard
open override val id: String

The id of the PowerGoblin instance.

Link copied to clipboard
open override val nanoTime: Long

Current value of the most precise available system timer, in nanoseconds.

Link copied to clipboard
open override val systemTimestamp: Long

Current time in milliseconds.

Functions

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