private boolean journalRebuildRequired(){
  final int redundantOpCompactThreshold=2000;
  return redundantOpCount >= redundantOpCompactThreshold && redundantOpCount >= lruEntries.size();
}

private boolean journalRebuildRequired ( ) { final int redundantOpCompactThreshold = 2000 ; return redundantOpCount >= redundantOpCompactThreshold && redundantOpCount >= lruEntries . size ( ) ; }
we only rebuild the journal when it will halve the size of the journal and eliminate at least 2000 ops .
