Interface ReplicaListTransformer
-
public interface ReplicaListTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransform(List<?> choices)Transforms the passed in list of choices.
-
-
-
Method Detail
-
transform
void transform(List<?> choices)
Transforms the passed in list of choices. Transformations can include (but are not limited to) reordering of elements (e.g. via shuffling) and removal of elements (i.e. filtering).- Parameters:
choices- - a list of choices to transform, typically the choices areReplicaobjects but choices can also beStringobjects such as URLs passed in via theShardParams.SHARDSparameter.
-
-