public StoreAnalysisModel(StoreReport storeReport)
 {
     _storeReport = storeReport;
     Label = "Store: " + LastCommitTimestamp;
     foreach (var bt in storeReport.BTrees)
     {
         Children.Add(new BTreeAnalysisModel(bt));
     }
 }
 public StoreAnalyzerViewModel(StoreReport report) 
 {
     Report = new StoreAnalysisModel(report);
 }
Esempio n. 3
0
 /// <summary>
 /// Invoked when the crawler initially opens the store
 /// </summary>
 /// <param name="storeId">The id of the store root object</param>
 /// <param name="storePath">The path to the store directory</param>
 /// <param name="nextObjectId">The next available object id</param>
 /// <param name="commitTime">The date/time of the last commit</param>
 public void OnStoreStart(ulong storeId, string storePath, ulong nextObjectId, DateTime commitTime)
 {
     _report = new StoreReport(storePath, DateTime.Now, storeId, nextObjectId, commitTime);
     _nodeReportStack = new Stack<NodeReport>();
 }
 /// <summary>
 /// Invoked when the crawler initially opens the store
 /// </summary>
 /// <param name="storeId">The id of the store root object</param>
 /// <param name="storePath">The path to the store directory</param>
 /// <param name="nextObjectId">The next available object id</param>
 /// <param name="commitTime">The date/time of the last commit</param>
 public void OnStoreStart(ulong storeId, string storePath, ulong nextObjectId, DateTime commitTime)
 {
     _report          = new StoreReport(storePath, DateTime.Now, storeId, nextObjectId, commitTime);
     _nodeReportStack = new Stack <NodeReport>();
 }