public static boolean isOurFormatId ( int formatIdentifier ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "isOurFormatId" , formatIdentifier ) ; final boolean result ; switch ( formatIdentifier ) { // Current format IDs case ZOS_FID_CB390 : case ZOS_FID_CBLT : case WAS_FID_WASD : result = true ; break ; // Possible format IDs in the future case WAS_FID_WASC : case WAS_FID_WASZ : case ZOS_FID_WASZ : default : result = false ; break ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "isOurFormatId" , Boolean . valueOf ( result ) ) ; return result ; }
Checks to see if this formatId is one of our generated formatIds . This is a first pass check on recovery to filter XIDs from RMs . We do not need to validate platform as the next phase check is for UUID which will be different for each application server .