Package org.apache.thrift.server
Class TThreadedSelectorServer.SelectorThreadLoadBalancer
- java.lang.Object
-
- org.apache.thrift.server.TThreadedSelectorServer.SelectorThreadLoadBalancer
-
- Enclosing class:
- TThreadedSelectorServer
protected static class TThreadedSelectorServer.SelectorThreadLoadBalancer extends java.lang.Object
A round robin load balancer for choosing selector threads for new connections.
-
-
Constructor Summary
Constructors Constructor Description SelectorThreadLoadBalancer(java.util.Collection<T> threads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TThreadedSelectorServer.SelectorThread
nextThread()
-
-
-
Method Detail
-
nextThread
public TThreadedSelectorServer.SelectorThread nextThread()
-
-