Class PeekMultiUntilEmptyQueueStorageScanner<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<List<QueueMessage<PK,D>>>
io.datarouter.storage.op.scan.queue.PeekMultiUntilEmptyQueueStorageScanner<PK,D>
- All Implemented Interfaces:
io.datarouter.scanner.Scanner<List<QueueMessage<PK,D>>>,Closeable,AutoCloseable
public class PeekMultiUntilEmptyQueueStorageScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>> extends io.datarouter.scanner.BaseScanner<List<QueueMessage<PK,D>>>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PeekMultiUntilEmptyQueueStorageScanner(QueueStorageReader<PK,D> queueStorageReader, Config config) -
Method Summary
Modifier and Type Method Description booleanadvance()Methods 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, close, collate, collate, collect, collect, concat, concatIter, count, deduplicate, deduplicateBy, distinct, distinctBy, each, exclude, findAny, findFirst, findLast, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, max, min, noneMatch, parallel, prefetch, reduce, reduce, retain, sample, shuffle, skip, sorted, sorted, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, toArray, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied
-
Constructor Details
-
PeekMultiUntilEmptyQueueStorageScanner
public PeekMultiUntilEmptyQueueStorageScanner(QueueStorageReader<PK,D> queueStorageReader, Config config)
-
-
Method Details
-
advance
public boolean advance()
-