mirror of
https://github.com/zhangkong828/DHTSpider.git
synced 2026-10-18 05:00:44 +08:00
20 lines
323 B
C#
20 lines
323 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Spider.Cache
|
|
{
|
|
public interface ICache
|
|
{
|
|
bool ContainsKey(string key);
|
|
|
|
object Get(string key);
|
|
|
|
void Set(string key, object val);
|
|
|
|
int Count();
|
|
}
|
|
}
|