policyKnob property

ChoiceConfigKnob<ReplacementConfiguratorPolicy> policyKnob
final

Policy implementation.

Implementation

final ChoiceConfigKnob<ReplacementConfiguratorPolicy> policyKnob =
    ChoiceConfigKnob(
  ReplacementConfiguratorPolicy.values,
  value: ReplacementConfiguratorPolicy.roundRobin,
  choiceLabels: const {
    ReplacementConfiguratorPolicy.roundRobin: 'Round robin',
    ReplacementConfiguratorPolicy.treePseudoLru: 'Tree pseudo-LRU',
  },
);