public void inactivateSubProcess ( String spPid ) { synchronized ( fileList ) { // always lock fileList first to avoid deadlock synchronized ( activeFilesMap ) { // Right into sync block because 99% case is that map contains pid activeFilesMap . remove ( spPid ) ; } } if ( debugLogger . isLoggable ( Level . FINE ) && LogRepositoryBaseImpl . isDebugEnabled ( ) ) { debugLogger . logp ( Level . FINE , thisClass , "inactivateSubProcess" , "Inactivated pid: " + spPid ) ; } }
inactivate active file for a given process . Should only be one file active for a process