public Compactor withDefaultCompactionMode(Compaction.Mode mode){
  Assert.notNull(mode,"mode");
  Assert.argNot(mode,mode == Compaction.Mode.DEFAULT,"DEFAULT cannot be the default compaction mode");
  this.defaultCompactionMode=mode;
  return this;
}

public Compactor withDefaultCompactionMode ( Compaction . Mode mode ) { Assert . notNull ( mode , "mode" ) ; Assert . argNot ( mode , mode == Compaction . Mode . DEFAULT , "DEFAULT cannot be the default compaction mode" ) ; this . defaultCompactionMode = mode ; return this ; }
sets the default compaction mode .
