Class PollUntilEmptyQueueStorageScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
java.lang.Object
io.datarouter.scanner.BaseScanner<D>
io.datarouter.storage.op.scan.queue.PollUntilEmptyQueueStorageScanner<PK,D>
- All Implemented Interfaces:
io.datarouter.scanner.Scanner<D>,Closeable,AutoCloseable
public class PollUntilEmptyQueueStorageScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
extends io.datarouter.scanner.BaseScanner<D>
-
Field Summary
Fields inherited from class io.datarouter.scanner.BaseScanner
current -
Constructor Summary
ConstructorsConstructorDescriptionPollUntilEmptyQueueStorageScanner(QueueStorage<PK, D> queueStorage, Config config) -
Method Summary
Methods inherited from class io.datarouter.scanner.BaseScanner
currentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.scanner.Scanner
advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, batchByMinSize, close, collate, collate, collateV2, collect, collect, concat, concatIter, count, deduplicateConsecutive, deduplicateConsecutiveBy, deduplicateConsecutiveBy, distinct, distinctBy, each, exclude, findFirst, findLast, findMax, findMin, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, maxN, minN, noneMatch, parallelOrdered, parallelOrdered, parallelUnordered, parallelUnordered, peekFirst, periodic, periodic, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, timeNanos, toArray, toMap, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied
-
Constructor Details
-
PollUntilEmptyQueueStorageScanner
-
-
Method Details
-
advance
public boolean advance()
-