Example #1
0
        public static void Setup(TestContext t)
        {
            var log = FASTERFactory.CreateLogDevice(Path.GetTempPath() + "\\hybridlog_object.log");

            fht = FASTERFactory.Create
                  <MyKey, MyValue, MyInput, MyOutput, MyContext, MyFunctions>
                      (indexSizeBuckets: 128, logDevice: log, functions: new MyFunctions(),
                      LogMutableFraction: 0.1, LogPageSizeBits: 9, LogTotalSizeBytes: 512 * 16
                      );
            fht.StartSession();
        }
Example #2
0
 public static void TearDown()
 {
     fht.StopSession();
     fht = null;
 }