public DeanonDumper(IDeanonDbWorker neo4JWorker, IDeanonSocNetworkWorker vkWorker, Cache cache) { _neo4JWorker = neo4JWorker; _neo4JWorker.Connect(); _vkWorker = vkWorker; _dbcache = cache; }
public Deanon(IDeanonDbWorker dbWorker, IDeanonSocNetworkWorker snWorker, int userId, bool continueDump) { this._userId = userId; this._snWorker = snWorker; _dbWorker = dbWorker; _cache = new Cache(); _dumper = new DeanonDumper(dbWorker, snWorker, _cache); _analyzer = new DbGraphAnalyzer(dbWorker); if (continueDump) { WarmUpCache(); } else { //clear database _dbWorker.ClearDatabase();//0 } }
public DbGraphAnalyzer(IDeanonDbWorker neo4J) { _neo4J = neo4J; }
private static void InitDBAndVK() { _db = InitDb(); _sn = InitVk(); }