Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private void recover() throws java.io.IOException
        private void Recover()
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.neo4j.causalclustering.core.state.StateRecoveryManager.RecoveryStatus<STATE> recoveryStatus = recoveryManager.recover(fileA, fileB);
            StateRecoveryManager.RecoveryStatus <STATE> recoveryStatus = _recoveryManager.recover(_fileA, _fileB);

            this._currentStoreFile    = recoveryStatus.ActiveFile();
            this._currentStoreChannel = ResetStoreFile(_currentStoreFile);
            this._initialState        = recoveryStatus.RecoveredState();

            _log.info("%s state restored, up to ordinal %d", _name, _marshal.ordinal(_initialState));
        }