public class ShufflingReplicaListTransformer extends Object implements ReplicaListTransformer
public ShufflingReplicaListTransformer(Random r)
public void transform(List<?> choices)
ReplicaListTransformertransform 在接口中 ReplicaListTransformerchoices - - a list of choices to transform, typically the choices are Replica objects but choices
can also be String objects such as URLs passed in via the ShardParams.SHARDS parameter.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.