CpuStats class

Statistics about a Lavalink server's CPU usage.

Annotations
  • @JsonSerializable()

Constructors

CpuStats({required int cores, required double systemLoad, required double lavalinkLoad})
Create a new CpuStats.
CpuStats.fromJson(Map<String, Object?> json)
factory

Properties

cores int
The number of cores on the system the server is running on.
final
hashCode int
The hash code for this object.
no setterinherited
lavalinkLoad double
The current Lavalink load.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemLoad double
The current system load.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited