using MoonlightServers.Daemon.ServerSystem.Models; namespace MoonlightServers.Daemon.ServerSystem.Interfaces; public interface IStatistics : IServerComponent { /// /// Attaches the statistics collector to the currently running runtime /// /// public Task AttachRuntimeAsync(); /// /// Attaches the statistics collector to the currently running installation /// /// public Task AttachInstallationAsync(); /// /// Clears the statistics cache /// /// public Task ClearCacheAsync(); /// /// Gets the statistics data from the cache /// /// All data from the cache public Task> GetCacheAsync(); }