void function ( Block arg0 , int arg1 , String arg2 ) { concurMgr . xLock ( arg0 ) ; Buffer loc0 = myBuffers . getBuffer ( arg0 ) ; int loc1 = recoveryMgr . setString ( loc0 , arg1 , arg2 ) ; loc0 . setString ( arg1 , arg2 , txnum , loc1 ) ; }
stores a string at the specified offset of the specified block . the method first obtains an xlock on the block . it then reads the current value at that offset , puts it into an update log record , and writes that record to the log . finally , it calls the buffer to store the value , passing in the lsn of the log record and the transaction 's id . concode_field_sep RecoveryMgr recoveryMgr concode_elem_sep BufferList myBuffers concode_elem_sep ConcurrencyMgr concurMgr concode_elem_sep int END_OF_FILE concode_elem_sep int txnum concode_elem_sep int nextTxNum concode_field_sep void rollback concode_elem_sep int getInt concode_elem_sep void recover concode_elem_sep void pin concode_elem_sep int size concode_elem_sep void commit concode_elem_sep void unpin concode_elem_sep String getString concode_elem_sep int nextTxNumber concode_elem_sep Block append concode_elem_sep void setInt