private static class RpcExecutor.RandomQueueBalancer extends RpcExecutor.QueueBalancer
Modifier and Type | Field and Description |
---|---|
private int |
queueSize |
Constructor and Description |
---|
RandomQueueBalancer(int queueSize) |
Modifier and Type | Method and Description |
---|---|
int |
getNextQueue() |
private final int queueSize
public RandomQueueBalancer(int queueSize)
public int getNextQueue()
getNextQueue
in class RpcExecutor.QueueBalancer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.