Class TarantoolConnectionIterator
- java.lang.Object
-
- io.tarantool.driver.utils.CyclingIterator<TarantoolConnection>
-
- io.tarantool.driver.core.connection.TarantoolConnectionIterator
-
- All Implemented Interfaces:
Iterator<TarantoolConnection>
public class TarantoolConnectionIterator extends CyclingIterator<TarantoolConnection>
Special cycling iterator for Tarantool connections
-
-
Constructor Summary
Constructors Constructor Description TarantoolConnectionIterator(Collection<TarantoolConnection> connections)
Basic constructor.
-
Method Summary
-
Methods inherited from class io.tarantool.driver.utils.CyclingIterator
hasNext, next
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
TarantoolConnectionIterator
public TarantoolConnectionIterator(Collection<TarantoolConnection> connections)
Basic constructor.- Parameters:
connections
- collection to iterate over
-
-