public final class SimpleTaskBalancer extends AbstractTaskBalancer
freeConnections, session| Constructor and Description |
|---|
SimpleTaskBalancer(LinkedBlockingQueue<Connection> initConnections)
Constructor to create a
SimpleLoadBalancer instance. |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
releaseConnectionpublic SimpleTaskBalancer(LinkedBlockingQueue<Connection> initConnections)
SimpleLoadBalancer instance.initConnections - The list with all opened connections.public Connection getConnection() throws org.jscsi.exception.NoSuchConnectionException
getConnection in class AbstractTaskBalancerorg.jscsi.exception.NoSuchConnectionExceptionCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.