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() |
releaseConnection
public SimpleTaskBalancer(LinkedBlockingQueue<Connection> initConnections)
SimpleLoadBalancer
instance.initConnections
- The list with all opened connections.public Connection getConnection() throws org.jscsi.exception.NoSuchConnectionException
getConnection
in class AbstractTaskBalancer
org.jscsi.exception.NoSuchConnectionException
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.