public void updateMetaDataOnly ( Transaction tran , Persistable persistable ) throws PersistenceException , ObjectManagerException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "updateMetaDataOnly" , new Object [ ] { "Tran=" + tran , "Persistable=" + persistable } ) ; // Defect 585163 // Get the meta data object to work with. This may involve // pulling it off disk if it has fallen out of memory. PersistableMetaData metaData = getMetaData ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "MetaData=" + metaData ) ; tran . lock ( metaData ) ; // Update the MetaData with the cached values metaData . setLockID ( persistable . getLockID ( ) ) ; metaData . setRedeliveredCount ( persistable . getRedeliveredCount ( ) ) ; tran . replace ( metaData ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "updateMetaDataOnly" , "MetaData=" + metaData ) ; }
Only update the persistent copy of the meta data associated with this Persistable . This variant is for a cached persistable in which the lock ID has been cached by the task .