public Object add ( Object data , int iOpenMode ) throws DBException , RemoteException { m_objCurrentPhysicalRecord = NONE ; m_objCurrentLockedRecord = NONE ; m_objCurrentCacheRecord = NONE ; Object bookmark = m_tableRemote . add ( data , iOpenMode ) ; if ( m_iPhysicalLastRecordPlusOne != - 1 ) if ( ( cacheMode == CacheMode . CACHE_ON_WRITE ) || ( cacheMode == CacheMode . PASSIVE_CACHE ) ) { if ( m_mapCache != null ) { m_mapCache . set ( m_iPhysicalLastRecordPlusOne , data ) ; m_iPhysicalLastRecordPlusOne ++ ; } } return bookmark ; }
Add - add this data to the file .