//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test void shouldHandleTheStressOfManyManyEvictions() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: internal virtual void ShouldHandleTheStressOfManyManyEvictions() { DefaultPageCacheTracer monitor = new DefaultPageCacheTracer(); Condition condition = numberOfEvictions(monitor, 100_000); PageCacheStressTest runner = (new PageCacheStressTest.Builder()).withWorkingDirectory(TestDirectory.directory()).with(monitor).with(condition).build(); runner.Run(); }
//JAVA TO C# CONVERTER NOTE: Members cannot have the same name as their enclosing type: public static BatchingNeoStores BatchingNeoStoresConflict(FileSystemAbstraction fileSystem, File storeDir, RecordFormats recordFormats, Configuration config, LogService logService, AdditionalInitialIds initialIds, Config dbConfig, JobScheduler jobScheduler) { Config neo4jConfig = GetNeo4jConfig(config, dbConfig); //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final org.neo4j.io.pagecache.tracing.PageCacheTracer tracer = new org.neo4j.io.pagecache.tracing.DefaultPageCacheTracer(); PageCacheTracer tracer = new DefaultPageCacheTracer(); PageCache pageCache = CreatePageCache(fileSystem, neo4jConfig, logService.InternalLogProvider, tracer, DefaultPageCursorTracerSupplier.INSTANCE, EmptyVersionContextSupplier.EMPTY, jobScheduler); return(new BatchingNeoStores(fileSystem, pageCache, storeDir, recordFormats, neo4jConfig, config, logService, initialIds, false, tracer.bytesWritten)); }