Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

void Log_Writer::SetState ( tsp00_TaskId  taskid,
Log_IOSequenceNo  writerioseqno,
Log_RawDeviceOffset  writeoffset,
Log_RawDeviceOffset  endoffset 
) [inline]

Updates writer state.

Parameters:
taskid [in] id of calling task
writerioseqno [in] ioseqno to be used for the next page
writeoffset [in] raw device offset to be used for next i/o
endoffset [in] raw device end offset

Definition at line 178 of file Log_Writer.hpp.

References Log_IOSequenceNo::IsValid(), LOG_INITIAL_IOSEQ, m_IOSequenceNo, m_WriteIterator, SetDeviceEnd(), and Log_RawDeviceIterator::SetPosition().

Referenced by Log_Volume::ResetLogWriter().

    {
        m_IOSequenceNo = writerioseqno.IsValid() ? writerioseqno : LOG_INITIAL_IOSEQ;
        m_WriteIterator.SetPosition(writeoffset);
        SetDeviceEnd(endoffset);
    }


Generated by  Doxygen 1.6.0   Back to index