public interface LedgersIterator
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Return true if there is at least one ledger to visit.
|
long |
next()
Return next ledger id.
|
boolean hasNext()
throws java.io.IOException
java.io.IOException - thrown when there is a problem accessing the ledger metadata store.long next() throws java.io.IOException
java.io.IOException - thrown when there is a problem accessing the ledger metadata store.Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.