//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUp() public virtual void SetUp() { File txLogLocation = new File(TestDirectory.directory(), "txLogLocation"); _config = Config.builder().withSetting(GraphDatabaseSettings.logical_logs_location, txLogLocation.AbsolutePath).build(); File storeDir = TestDirectory.storeDir(); _databaseLayout = DatabaseLayout.of(storeDir, _config.get(GraphDatabaseSettings.active_database)); _fsa = TestDirectory.FileSystem; _commitStateHelper = new CommitStateHelper(PageCacheRule.getPageCache(_fsa), _fsa, _config); }
public RemoteStore(LogProvider logProvider, FileSystemAbstraction fs, PageCache pageCache, StoreCopyClient storeCopyClient, TxPullClient txPullClient, TransactionLogCatchUpFactory transactionLogFactory, Config config, Monitors monitors) { this._logProvider = logProvider; this._storeCopyClient = storeCopyClient; this._txPullClient = txPullClient; this._fs = fs; this._pageCache = pageCache; this._transactionLogFactory = transactionLogFactory; this._config = config; this._monitors = monitors; this._log = logProvider.getLog(this.GetType()); this._commitStateHelper = new CommitStateHelper(pageCache, fs, config); }