using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCode.Project.Services
{
public interface IQueueProcessService
{
///
/// 添加队列
///
/// 方法名
/// 参数信息
void AddQueue(string methodName, DateTime? expireTime, object entity = null);
///
/// Execute(队列执行)
///
void Execute();
///
/// 添加队列
///
/// 执行类
/// 方法名
/// 参数信息
void AddQueue(Type type, string methodName, DateTime? expireTime, object entity = null);
///
/// 返回队列长度
///
///
long GetLen();
}
}