MemoryStats class

Statistics about a Lavalink server's memory usage.

Annotations
  • @JsonSerializable()

Constructors

MemoryStats({required int free, required int used, required int allocated, required int reservable})
Create a new MemoryStats.
MemoryStats.fromJson(Map<String, Object?> json)
factory

Properties

allocated int
The allocated memory in bytes.
final
free int
The free memory in bytes.
final
hashCode int
The hash code for this object.
no setterinherited
reservable int
The reservable memory in bytes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
used int
The used memory in bytes.
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