2023-10-08 21:18:59 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Aitex.Core.RT.DataCollection.HighPerformance
|
|
|
|
|
{
|
2024-01-15 09:38:57 +08:00
|
|
|
|
public interface IDataTraceCache
|
2023-10-08 21:18:59 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回当前缓存服务的模组名称。
|
|
|
|
|
/// </summary>
|
2024-01-15 19:20:23 +08:00
|
|
|
|
string Category { get; }
|
2023-10-08 21:18:59 +08:00
|
|
|
|
|
|
|
|
|
|
2024-01-15 19:20:23 +08:00
|
|
|
|
IReadOnlyList<IDataBuffer> DataBuffers { get; }
|
2023-10-08 21:18:59 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 立即缓存当前数据。
|
|
|
|
|
/// </summary>
|
|
|
|
|
void Cache();
|
|
|
|
|
}
|
|
|
|
|
}
|