protected void addRecoverableUnit ( RecoverableUnit recoverableUnit , boolean recovered ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "addRecoverableUnit" , new Object [ ] { recoverableUnit , recovered , this } ) ; final long identity = recoverableUnit . identity ( ) ; _recoverableUnits . put ( identity , recoverableUnit ) ; if ( recovered ) { _recUnitIdTable . reserveId ( identity , recoverableUnit ) ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "addRecoverableUnit" ) ; }
Adds a new RecoverableUnitImpl object keyed from its identity to this classes collection of such objects .