case
class ResourceMetrics(name: String, costPerTick: Double, idleUpdate: Long, busyTime: Long, idleTime: Long, tasks: Int, cost: Double)
Metrics for at TaskResource.
- Value Params
- busyTime
the total amount of virtual time that the TaskResource has been busy, i.e. attached to a TaskInstance
- cost
the total cost associated with this TaskResource
- idleTime
the total amount of virtual time that the TaskResource has been idle, i.e. not attached to any TaskInstance
- name
the unique name of the TaskResource
- tasks
the number of different TaskInstances that have been attached to this TaskResource
- Companion
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
Updates the metrics given a new TaskInstance has been attached to the TaskResource.
Updates the metrics given a new TaskInstance has been attached to the TaskResource.