| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | BitmapWalker.
Filter that excludes objects already in the given bitmap. |
| Modifier and Type | Field and Description |
|---|---|
| private final BitmapIndex | |
| private long | |
| private final ProgressMonitor | |
| private BitmapIndex. | |
| private AnyObjectId | |
| private final ObjectWalk |
| Access | Constructor and Description |
|---|---|
| public | BitmapWalker(ObjectWalk
walker to use when traversing the object graph. walker, BitmapIndex index to obtain bitmaps from. bitmapIndex, ProgressMonitor progress monitor to report progress on. pm)Create a BitmapWalker. |
| Modifier and Type | Method and Description |
|---|---|
| public BitmapIndex. | Returns: as a bitmap, the objects reachable from the objects in start.the objects to start the object traversal from. start, BitmapIndex.the objects to skip if encountered during traversal. seen,true to ignore missing objects, false otherwise. ignoreMissing)Return, as a bitmap, the objects reachable from the objects in start. |
| private BitmapIndex. | findObjectsWalk(Iterable<? extends ObjectId> start, BitmapIndex.
|
| public long | Returns: the number of objects that had to be walked because they were not covered by a bitmap.Return the number of objects that had to be walked because they were not covered by a bitmap. |
| public void | setPrevBitmap(BitmapIndex.
the bitmap associated with the cached commit. prevBitmapSet the bitmap associated with the cached commit for the walker. |
| public void |
| bitmapIndex | back to summary |
|---|---|
| private final BitmapIndex bitmapIndex | |
| countOfBitmapIndexMisses | back to summary |
|---|---|
| private long countOfBitmapIndexMisses | |
| pm | back to summary |
|---|---|
| private final ProgressMonitor pm | |
| prevBitmap | back to summary |
|---|---|
| private BitmapIndex. | |
| prevCommit | back to summary |
|---|---|
| private AnyObjectId prevCommit | |
| walker | back to summary |
|---|---|
| private final ObjectWalk walker | |
| BitmapWalker | back to summary |
|---|---|
| public BitmapWalker(ObjectWalk walker, BitmapIndex bitmapIndex, ProgressMonitor pm) Create a BitmapWalker.
| |
| findObjects | back to summary |
|---|---|
| public BitmapIndex. Return, as a bitmap, the objects reachable from the objects in start.
| |
| findObjectsWalk | back to summary |
|---|---|
| private BitmapIndex. | |
| getCountOfBitmapIndexMisses | back to summary |
|---|---|
| public long getCountOfBitmapIndexMisses() Return the number of objects that had to be walked because they were not covered by a bitmap.
| |
| setPrevBitmap | back to summary |
|---|---|
| public void setPrevBitmap(BitmapIndex. Set the bitmap associated with the cached commit for the walker.
| |
| setPrevCommit | back to summary |
|---|---|
| public void setPrevCommit(AnyObjectId prevCommit) Set the cached commit for the walker.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BitmapIndex. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | include(ObjectWalk
the active walker this filter is being invoked from within. walker, AnyObjectId the object currently being tested. objid)Implements abstract org. Determine if the named object should be included in the walk. |
| bitmap | back to summary |
|---|---|
| private final BitmapIndex. | |
| BitmapObjectFilter | back to summary |
|---|---|
| pack-priv BitmapObjectFilter(BitmapIndex. | |
| include | back to summary |
|---|---|
| public final boolean include(ObjectWalk walker, AnyObjectId objid) throws MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the named object should be included in the walk.
| |