public interface IHistoryManager
Journal
, the
IRWStrategy
, and the backing IStore
.Modifier and Type | Method and Description |
---|---|
int |
checkDeferredFrees(AbstractJournal abstractJournal)
This method is invoked during the commit protocol and gives the backing
store an opportunity to check whether storage associated with deferred
frees can now be released.
|
long |
getLastReleaseTime()
If history is retained this returns the time for which data was most
recently released.
|
IRawTx |
newTx()
A hook used to support session protection by incrementing and
decrementing a transaction counter within the
IStore . |
void |
registerExternalCache(ConcurrentWeakValueCache<Long,ICommitter> historicalIndexCache,
int byteCount)
Call made from AbstractJournal to register the cache used.
|
long |
saveDeferrals()
Saves the current list of delete blocks, returning the address allocated.
|
IRawTx newTx()
IStore
. As long as
a transaction is active we can not release data which is currently marked
as freed but was committed at the point the session started.long saveDeferrals()
Writes the content of currentTxnFreeList to the store.
These are the current buffered frees that have yet been saved into a block referenced from the deferredFreeList
DeleteBlockCommitter
int checkDeferredFrees(AbstractJournal abstractJournal)
AbstractJournal#commitNow()
void registerExternalCache(ConcurrentWeakValueCache<Long,ICommitter> historicalIndexCache, int byteCount)
Note: It is not safe to clear at the point of the delete request since the data could still be loaded if the data is retained for a period due to a non-zero retention period or session protection.
externalCache
- - used by the Journal to cache historical BTree referencesdataSize
- - the size of the checkpoint data (fixed for any version)long getLastReleaseTime()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.