Class MetadataAsyncIterator
- java.lang.Object
-
- org.apache.bookkeeper.bookie.datainteg.MetadataAsyncIterator
-
public class MetadataAsyncIterator extends java.lang.Object
An rxjava ledger metadata iterator.
-
-
Constructor Summary
Constructors Constructor Description MetadataAsyncIterator(io.reactivex.rxjava3.core.Scheduler scheduler, LedgerManager ledgerManager, int maxInFlight, int zkTimeout, java.util.concurrent.TimeUnit zkTimeoutUnit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>
forEach(java.util.function.BiFunction<java.lang.Long,LedgerMetadata,java.util.concurrent.CompletableFuture<java.lang.Void>> consumer)
(package private) static java.lang.Throwable
unwrap(java.lang.Throwable e)
-
-
-
Constructor Detail
-
MetadataAsyncIterator
MetadataAsyncIterator(io.reactivex.rxjava3.core.Scheduler scheduler, LedgerManager ledgerManager, int maxInFlight, int zkTimeout, java.util.concurrent.TimeUnit zkTimeoutUnit)
-
-
Method Detail
-
forEach
public java.util.concurrent.CompletableFuture<java.lang.Void> forEach(java.util.function.BiFunction<java.lang.Long,LedgerMetadata,java.util.concurrent.CompletableFuture<java.lang.Void>> consumer)
-
unwrap
static java.lang.Throwable unwrap(java.lang.Throwable e)
-
-