Package org.apache.accumulo.test
Class FairVolumeChooser
- java.lang.Object
-
- org.apache.accumulo.test.FairVolumeChooser
-
- All Implemented Interfaces:
VolumeChooser
public class FairVolumeChooser extends Object implements VolumeChooser
Try to assign some fairness to choosing Volumes. Intended for tests, not for production
-
-
Constructor Summary
Constructors Constructor Description FairVolumeChooser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
choosable(VolumeChooserEnvironment env, Set<String> options)
String
choose(VolumeChooserEnvironment env, Set<String> options)
-
-
-
Method Detail
-
choose
public String choose(VolumeChooserEnvironment env, Set<String> options)
- Specified by:
choose
in interfaceVolumeChooser
-
choosable
public Set<String> choosable(VolumeChooserEnvironment env, Set<String> options)
- Specified by:
choosable
in interfaceVolumeChooser
-
-