Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)