@Deprecated public interface ITaskBalancer
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Deprecated.
Returns the next connection, which should used for the next task.
|
void |
releaseConnection(Connection connection)
Deprecated.
Releases a used connection, so that it can be used by another task.
|
Connection getConnection() throws org.jscsi.exception.NoSuchConnectionException
Connection
instance to use.org.jscsi.exception.NoSuchConnectionException
- If there is no such connection.void releaseConnection(Connection connection) throws org.jscsi.exception.NoSuchConnectionException
connection
- The Connection
instance to release.org.jscsi.exception.NoSuchConnectionException
- If there is no such connection.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.