Class IteratorAdapter<A>
java.lang.Object
com.here.platform.data.client.utils.IteratorAdapter<A>
- All Implemented Interfaces:
scala.collection.IterableOnce<A>,scala.collection.IterableOnceOps<A,,scala.collection.Iterator, scala.collection.Iterator<A>> scala.collection.Iterator<A>
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionIteratorAdapter(BlockingQueue<IteratorSinkStage.StreamToAdapterMessage> sharedBuffer, scala.Function1<IteratorSinkStage.AdapterToStageMessage, scala.runtime.BoxedUnit> sendToStage, scala.concurrent.duration.FiniteDuration readTimeout) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.collection.IterableOnce
knownSize, stepperMethods inherited from interface scala.collection.IterableOnceOps
$colon$bslash, $div$colon, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToArray, copyToBuffer, corresponds, count, exists, find, fold, foldLeft, foldRight, forall, foreach, isTraversableAgain, max, maxBy, maxByOption, maxOption, min, minBy, minByOption, minOption, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRight, reduceRightOption, reversed, size, splitAt, sum, to, toArray, toBuffer, toIndexedSeq, toIterator, toList, toMap, toSeq, toSet, toStream, toVectorMethods inherited from interface scala.collection.Iterator
$plus$plus, buffered, collect, concat, contains, distinct, distinctBy, drop, dropWhile, duplicate, filter, filterImpl, filterNot, flatMap, flatten, grouped, hasDefiniteSize, indexOf, indexOf, indexWhere, indexWhere$default$2, isEmpty, iterator, length, map, nextOption, padTo, partition, patch, sameElements, scanLeft, scanRight, seq, slice, sliceIterator, sliding, sliding$default$2, span, take, takeWhile, tapEach, toString, withFilter, zip, zipAll, zipWithIndex
-
Constructor Details
-
IteratorAdapter
public IteratorAdapter(BlockingQueue<IteratorSinkStage.StreamToAdapterMessage> sharedBuffer, scala.Function1<IteratorSinkStage.AdapterToStageMessage, scala.runtime.BoxedUnit> sendToStage, scala.concurrent.duration.FiniteDuration readTimeout)
-
-
Method Details
-
close
public void close() -
detachedChunk
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfacescala.collection.Iterator<A>
-
isInitialized
public boolean isInitialized() -
isStageAlive
public boolean isStageAlive() -
next
- Specified by:
nextin interfacescala.collection.Iterator<A>
-
subscriberClosedException
-