Execute the block inside a pseudo-transaction.
Execute the block inside a pseudo-transaction.
This builds the disk managing structure.
Execute the block inside a pseudo-transaction.
Execute the block inside a pseudo-transaction.
Overridden by: SnarfPacker class
Overridden by: CBlockTrackingPacker class SnarfPacker class
This is called before entering consistent block. 'dirty' is the block's declaration of the maximum number of shepherds which it can dirty. If this is a top level consistent block, the virtual image in memory is now in a consistent state. It may be written to the disk if necessary.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Execute the block inside a pseudo-transaction.
Execute the block inside a pseudo-transaction.
Overridden by: SnarfPacker
This is called after beginConsistent, but before entering a consistent block, for debugging purposes. Default is to do nothing
Overridden by: CBlockTrackingPacker
Overrides: Heaper
Overridden by: FakePacker
Queue destroy of the given flock. The destroy will probably happen later.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Overrides: Heaper
Overridden by: CBlockTrackingPacker SnarfPacker
The flock described by info is Dirty! On the next commit, rewrite it to the disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
The flock designated by info has completed all dismantling actions; throw it off the disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
The flock identified by token is being removed from memory. For now, this is an
error if the flock has been updated. If the flock has been forgotten, then it will
be dismantled when next it comes in from disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
This is called after exiting a consistent block.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
If something is already imaged at that location, then return it. If there is already
an existing stub with the same hash at a different location, follow them both till we
know that they are actually different objects.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Remember that there are no more persistent pointers to the shepherd
described by info. If it gets garbage collected, remember to dismantle it
when it comes back in from the disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Return the starting object for the entire backend. This will be the 0th
flock in the first snarf following the snarfInfo tables. This will eventually
always be a shepherd that describes the protocol of the rest of the disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
The virtual image in memory is now in a consistent state. It may be written to
the disk if necessary.
Overridden by: TestPacker
The virtual image in memory is now in a consistent state. It may be written to the disk if necessary. This is called before entering a top level consistent block. 'dirty' is the block's declaration of the maximum number of shepherds which it can dirty.
This is called after exiting a top level consistent block.
Retrieve from the disk the flock at index within the specified snarf. Since
stubs are canonical, and this only gets called by stubs, the existing stub will
*become* the shepherd for the flock.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Shepherds use a sequence number for their hash. The most trivial (reasonable)
implementation just uses a BatchCounter. This will not be persistent till we get
Turtles.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Flush everything out to disk and remove all purgeable imaged objects from memory.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
purge all shepherds that are currently clean, not locked, not dirty, and
purgeable. Purging just turns them into stubs, freeing the rest of their flocks.
Garbage collection can clean up the flocks and any stubs no longer pointed to
by something in memory.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Called to register a newly created stub (by the diskSpecialist) in the internal
tables. The diskSpecialist in particular calls this when it couldn't find an
already existing stub (with fetchCacnonical) representing the flock at the
particular location.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
There are now persistent pointers to the shepherd described by info. See forgetFlock.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Overridden by: SnarfPacker
Shep has been created, but is not consistent yet. storeNewFlock must be called on it before the next makeConsistent.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
A turtle just got created! Remember it as the initial flock.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker
Shep just got created! On some later commit, assign it to a snarf
and write it to the disk.
Overridden by: CBlockTrackingPacker FakePacker SnarfPacker TestPacker