}
}
- PackBitmapIndex getPackBitmapIndex(DfsReader ctx) throws IOException {
+ PackBitmapIndex getBitmapIndex(DfsReader ctx) throws IOException {
DfsBlockCache.Ref<PackBitmapIndex> idxref = bitmapIndex;
if (idxref != null) {
PackBitmapIndex idx = idxref.get();
@Override
public BitmapIndex getBitmapIndex() throws IOException {
for (DfsPackFile pack : db.getPacks()) {
- PackBitmapIndex bitmapIndex = pack.getPackBitmapIndex(this);
+ PackBitmapIndex bitmapIndex = pack.getBitmapIndex(this);
if (bitmapIndex != null)
return new BitmapIndexImpl(bitmapIndex);
}
public Collection<CachedPack> getCachedPacksAndUpdate(
BitmapBuilder needBitmap) throws IOException {
for (DfsPackFile pack : db.getPacks()) {
- PackBitmapIndex bitmapIndex = pack.getPackBitmapIndex(this);
+ PackBitmapIndex bitmapIndex = pack.getBitmapIndex(this);
if (needBitmap.removeAllOrNone(bitmapIndex))
return Collections.<CachedPack> singletonList(
new DfsCachedPack(pack));