class EvictionListBuilder {

  public EvictionList create() {
    if (this.controller.getEvictionAlgorithm().isLIFO()) {
      return new LIFOList(this.controller);
    } else {
      if (evictionScanAsync) {
        return new LRUListWithAsyncSorting(this.controller);
      } else {
        return new LRUListWithSyncSorting(this.controller);
      }
    }
  }

  public  EvictionListBuilder(EvictionController evictionController);

}