예제 #1
0
        internal NonBufferedFileIO(string fileName)
        {
            CurrentPositionForDirectWrite = -1;

            _wholeFileName = fileName;
            _odbWriter     = new OdbFileStream(_wholeFileName);
        }
예제 #2
0
        internal NonBufferedFileIO(string fileName)
        {
            CurrentPositionForDirectWrite = -1;

            _wholeFileName = fileName;
            _odbWriter = new OdbFileStream(_wholeFileName);
        }
예제 #3
0
        private void CloseIO()
        {
            try
            {
                _odbWriter.Dispose();
            }
            catch (IOException e)
            {
                DLogger.Error("NonBufferedFileIO" + e);
                throw new OdbRuntimeException(NDatabaseError.InternalError.AddParameter(e.Message), e);
            }

            _odbWriter = null;
        }
예제 #4
0
        private void CloseIO()
        {
            try
            {
                _odbWriter.Dispose();
            }
            catch (IOException e)
            {
                Log4NetHelper.Instance.LogErrorMessage(String.Format("NonBufferedFileIO{0}", e));
                throw new OdbRuntimeException(NDatabaseError.InternalError.AddParameter(e.Message), e);
            }

            _odbWriter = null;
        }
예제 #5
0
        internal NonBufferedFileIO()
        {
            CurrentPositionForDirectWrite = -1;

            _odbWriter = new OdbMemoryStream();
        }
예제 #6
0
        private void CloseIO()
        {
            try
            {
                _odbWriter.Dispose();
            }
            catch (IOException e)
            {
                DLogger.Error("NonBufferedFileIO" + e);
                throw new OdbRuntimeException(NDatabaseError.InternalError.AddParameter(e.Message), e);
            }

            _odbWriter = null;
        }
예제 #7
0
        internal NonBufferedFileIO()
        {
            CurrentPositionForDirectWrite = -1;

            _odbWriter = new OdbMemoryStream();
        }