mirror of https://github.com/apache/druid.git
finished profiling here
This commit is contained in:
parent
540c4885d7
commit
1045aac4b8
|
@ -26,10 +26,10 @@ import java.util.Random;
|
||||||
|
|
||||||
public class ReservoirSegmentSampler
|
public class ReservoirSegmentSampler
|
||||||
{
|
{
|
||||||
private final Random rand = new Random();
|
|
||||||
|
|
||||||
public BalancerSegmentHolder getRandomBalancerSegmentHolder(final List<ServerHolder> serverHolders)
|
public BalancerSegmentHolder getRandomBalancerSegmentHolder(final List<ServerHolder> serverHolders)
|
||||||
{
|
{
|
||||||
|
final Random rand = new Random();
|
||||||
ServerHolder fromServerHolder = null;
|
ServerHolder fromServerHolder = null;
|
||||||
DataSegment proposalSegment = null;
|
DataSegment proposalSegment = null;
|
||||||
int numSoFar = 0;
|
int numSoFar = 0;
|
||||||
|
|
Loading…
Reference in New Issue