Mysql Q4M 队列操作封装(一)
楮乐邦
2023-12-01
/// <summary>
/// Q4M队列操作接口
/// </summary>
/// <typeparam name="T"></typeparam>
/// Author:luyifeng
/// Createday:2013 05 02
public interface IQ4M<T>:IDisposable
{
/// <summary>
/// 获取的队列的第一条数据
/// </summary>
T QueueItem { get; set; }
/// <summary>
///获取 第一条数据
/// </summary>
/// <returns></returns>
T First();
/// <summary>
/// 出队
/// </summary>
void Remove();
/// <summary>
/// 回滚
/// </summary>
void Rollback();
}