//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void close() throws java.io.IOException public override void Close() { // Here as a safety mechanism when e.g. panicking. if (_flusher != null) { StopFlushingPageCache(); } FlushAndForce(); // Flush out all pending changes closeAll(_propertyKeyRepository, _labelRepository, _relationshipTypeRepository); // Close the neo store _life.shutdown(); closeAll(_neoStores, _temporaryNeoStores); if (!_externalPageCache) { _pageCache.close(); } if (_successful) { Cleanup(); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @After public void tearDown() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void TearDown() { _backupProtocolService.close(); _pageCache.close(); _jobScheduler.close(); _fs.Dispose(); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void close() throws Exception public override void Close() { _pageCache.close(); if (_jobScheduler != null) { _jobScheduler.close(); } }
public override void Shutdown() { _pageCache.close(); }