| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final DfsObjDatabase | |
| private final DfsReftableDatabase |
| Access | Constructor and Description |
|---|---|
| protected | DfsReftableBatchRefUpdate(DfsReftableDatabase
database the update will modify. refdb, DfsObjDatabase object database to store the reftable. odb)Initialize batch update. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | applyUpdates(List<Ref>
the new refs to create newRefs, List<ReceiveCommand> the pending receive commands to be executed pending)Implements abstract org. Implements the storage-specific part of the update. |
| private boolean | |
| private ReftableWriter. | |
| private boolean | |
| private Set |
| AVG_BYTES | back to summary |
|---|---|
| private static final int AVG_BYTES | |
| odb | back to summary |
|---|---|
| private final DfsObjDatabase odb | |
| refdb | back to summary |
|---|---|
| private final DfsReftableDatabase refdb | |
| DfsReftableBatchRefUpdate | back to summary |
|---|---|
| protected DfsReftableBatchRefUpdate(DfsReftableDatabase refdb, DfsObjDatabase odb) Initialize batch update.
| |
| applyUpdates | back to summary |
|---|---|
| protected void applyUpdates(List<Ref> newRefs, List<ReceiveCommand> pending) throws IOException Implements abstract org. Doc from org. Implements the storage-specific part of the update.
| |
| canCompactTopOfStack | back to summary |
|---|---|
| private boolean canCompactTopOfStack(ReftableConfig cfg) throws IOException | |
| compactTopOfStack | back to summary |
|---|---|
| private ReftableWriter. | |
| packOnlyContainsReftable | back to summary |
|---|---|
| private boolean packOnlyContainsReftable(DfsPackDescription desc) | |
| toPruneTopOfStack | back to summary |
|---|---|
| private Set | |