com.bigdata.journal
Class DeleteBlockCommitter
java.lang.Object
com.bigdata.journal.DeleteBlockCommitter
- All Implemented Interfaces:
- ICommitter
public class DeleteBlockCommitter
- extends Object
- implements ICommitter
Defines the callback object called on commit that enables the deferred
delete blocks to be associated with a CommitRecord.
- Author:
- Martyn Cutcher
|
Method Summary |
long |
handleCommit(long commitTime)
Flush dirty state to the store in preparation for an atomic commit and
return the address from which the persistence capable data structure may
be reloaded. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteBlockCommitter
public DeleteBlockCommitter(IRWStrategy strategy)
handleCommit
public long handleCommit(long commitTime)
- Description copied from interface:
ICommitter
- Flush dirty state to the store in preparation for an atomic commit and
return the address from which the persistence capable data structure may
be reloaded.
- Specified by:
handleCommit in interface ICommitter
- Parameters:
commitTime - The timestamp assigned to the commit.
- Returns:
- The address of the record from which the persistence capable data
structure may be reloaded. If no changes have been made then the
previous address should be returned as it is still valid.
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.