| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected BlockRevQueue. |
| Access | Constructor and Description |
|---|---|
| protected | BlockRevQueue(boolean
whether only first-parent links should be followed when
walking firstParent)Create an empty revision queue. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | shareFreeList(BlockRevQueue
another FIFO queue that wants to share our queue's free list. q)Overrides org. Reconfigure this queue to share the same free list as another. |
| free | back to summary |
|---|---|
| protected BlockRevQueue. | |
| BlockRevQueue | back to summary |
|---|---|
| protected BlockRevQueue(boolean firstParent) Create an empty revision queue.
| |
| BlockRevQueue | back to summary |
|---|---|
| pack-priv BlockRevQueue(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| shareFreeList | back to summary |
|---|---|
| public void shareFreeList(BlockRevQueue q) Overrides org. Reconfigure this queue to share the same free list as another. Multiple revision queues can be connected to the same free list, making it less expensive for applications to shuttle commits between them. This method arranges for the receiver to take from / return to the same free list as the supplied queue. Free lists are not thread-safe. Applications must ensure that all queues sharing the same free list are doing so from only a single thread.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv final RevCommit[] | commits
Our table of queued commits. |
| pack-priv int | |
| pack-priv BlockRevQueue. | next
Next block in our chain of blocks; null if we are the last. |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv RevCommit | |
| pack-priv RevCommit | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| BLOCK_SIZE | back to summary |
|---|---|
| pack-priv static final int BLOCK_SIZE | |
| commits | back to summary |
|---|---|
| pack-priv final RevCommit[] commits Our table of queued commits. | |
| headIndex | back to summary |
|---|---|
| pack-priv int headIndex Next valid entry in | |
| next | back to summary |
|---|---|
| pack-priv BlockRevQueue. Next block in our chain of blocks; null if we are the last. | |
| tailIndex | back to summary |
|---|---|
| pack-priv int tailIndex Next free entry in | |
| Block | back to summary |
|---|---|
| pack-priv Block() | |
| add | back to summary |
|---|---|
| pack-priv void add(RevCommit c) | |
| canUnpop | back to summary |
|---|---|
| pack-priv boolean canUnpop() | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| isFull | back to summary |
|---|---|
| pack-priv boolean isFull() | |
| peek | back to summary |
|---|---|
| pack-priv RevCommit peek() | |
| pop | back to summary |
|---|---|
| pack-priv RevCommit pop() | |
| resetToEnd | back to summary |
|---|---|
| pack-priv void resetToEnd() | |
| resetToMiddle | back to summary |
|---|---|
| pack-priv void resetToMiddle() | |
| unpop | back to summary |
|---|---|
| pack-priv void unpop(RevCommit c) | |
| Modifier and Type | Field and Description |
|---|---|
| private BlockRevQueue. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv BlockRevQueue. |
| next | back to summary |
|---|---|
| private BlockRevQueue. | |
| BlockFreeList | back to summary |
|---|---|
| pack-priv BlockFreeList() | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| freeBlock | back to summary |
|---|---|
| pack-priv void freeBlock(BlockRevQueue. | |
| newBlock | back to summary |
|---|---|
| pack-priv BlockRevQueue. | |