static URI encodeCheckpointFileLocation ( UfsJournal journal , long end ) { String filename = String . format ( "0x%x-0x%x" , 0 , end ) ; URI location = URIUtils . appendPathOrDie ( journal . getCheckpointDir ( ) , filename ) ; return location ; }
Encodes a checkpoint location under the checkpoint directory .