private static boolean isLocalJournal ( JournalManager jm ) { if ( jm == null || ( ! ( jm instanceof FileJournalManager ) ) ) { return false ; } return NNStorage . isPreferred ( StorageLocationType . LOCAL , ( ( FileJournalManager ) jm ) . getStorageDirectory ( ) ) ; }
Check if the given journal is local .