Code example for Random

0
{ 
  private final Random _random;
 
  public RandomLoadBalancerStrategy() 
  { 
    _random = new Random();
  } 
 
  @Override 
  public Ring<URI> getRing(long clusterGenerationId, int partitionId, List<TrackerClient> trackerClients)
  { 
    return null; 
  } 
 
  @Override 
  public TrackerClient getTrackerClient(Request request,
                                        RequestContext requestContext,
                                        long clusterGenerationId,
                                        int partitionId,
                                        List<TrackerClient> trackerClients)