public synchronized void alertSoftCopies ( ) throws IOException { // make a copy of the list of soft copies, as they will deregister // within the loop (removing themselves from our internal list) NikeFS2LazyRandomAccessStorageImpl [ ] copies = softCopies . toArray ( new NikeFS2LazyRandomAccessStorageImpl [ softCopies . size ( ) ] ) ; for ( NikeFS2LazyRandomAccessStorageImpl copy : copies ) { if ( copy . isSoftCopy ) { copy . consolidateSoftCopy ( ) ; copy . alertSoftCopies ( ) ; // HV } } }
This method alerts all child soft copies of this storage to consolidate ; called prior to modification of this instance . The child soft copies so alerted will detach from this instance consequently .