зеркало из https://github.com/microsoft/FASTER.git
Fixed sample
This commit is contained in:
Родитель
8888c7dfac
Коммит
fe3b3893da
|
@ -17,7 +17,7 @@ namespace ClassCache
|
|||
static void Main(string[] args)
|
||||
{
|
||||
var log = FasterFactory.CreateLogDevice(Path.GetTempPath() + "hybridlog");
|
||||
var objlog = FasterFactory.CreateObjectLogDevice(Path.GetTempPath() + "hybridlog");
|
||||
var objlog = FasterFactory.CreateObjectLogDevice(Path.GetTempPath() + "hybridobjlog");
|
||||
var h = FasterFactory.Create
|
||||
<CacheKey, CacheValue, CacheInput, CacheOutput, CacheContext, CacheFunctions>
|
||||
(1L << 20, new CacheFunctions(), new LogSettings { LogDevice = log, ObjectLogDevice = objlog });
|
||||
|
|
Загрузка…
Ссылка в новой задаче