bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@apache.org>
Subject Re: Using BK as WAL and accessing ledger metadata
Date Fri, 08 Feb 2013 09:27:42 GMT
On Thu, Feb 07, 2013 at 09:00:35PM -0800, Sijie Guo wrote:
> I think we already have similar interface in LedgerManager,
> "LedgerRangeIterator getLedgerRanges()". I think it would be quite
> straightforward to expose it.
Yes, we should reuse this. However, from the client viewpoint it would
be better to expose it as a Iterable<Long> getLedgers(); to not burden
the user with the range stuff. Doing this should be straightforward.

-Ivan

Mime
View raw message