finished profiling here

This commit is contained in:
Dhruv Parthasarathy 2013-08-05 13:53:40 -07:00
parent 540c4885d7
commit 1045aac4b8
1 changed files with 1 additions and 1 deletions

View File

@ -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;