question: @ Override public void terminateAnyRestoreSessions ( StorageSystem storage , BlockObject from , URI volume , TaskCompleter taskCompleter ) throws Exception { BlockObject blockObject = BlockObject . fetch ( _dbClient , volume ) ; Collection < CIMObjectPath > syncObjects = null ; if ( storage . checkIfVmax3 ( ) ) { syncObjects = _helper . getSettingsDefineStatePaths ( storage , blockObject , ( BlockSnapshot ) from ) ; } else { syncObjects = getRestoredOrMixedStateSyncObjects ( storage , blockObject ) ; } for ( CIMObjectPath syncObject : syncObjects ) { resumeSnapshot ( storage , from , blockObject , syncObject , taskCompleter ) ; } }
target:  Given a snapshot and a URI of its parent volume, look up any existing restore sessions and terminate them.