public class Incremental extends Object implements IRevisioning
DataBucket
s.Constructor and Description |
---|
Incremental() |
Modifier and Type | Method and Description |
---|---|
DataBucket |
combineBuckets(DataBucket[] pBuckets)
Method to reconstruct a complete
DataBucket with the help of party filled
buckets plus a revision-delta which determines the necessary steps back. |
LogValue |
combineBucketsForModification(int pRevisionsToRestore,
long pNewBucketKey,
DataBucket[] pBuckets,
boolean pFullDump)
Method to reconstruct a complete
DataBucket for reading as well as a
DataBucket for serializing with the datas to write already on there. |
String |
toString() |
public DataBucket combineBuckets(DataBucket[] pBuckets)
DataBucket
with the help of party filled
buckets plus a revision-delta which determines the necessary steps back.combineBuckets
in interface IRevisioning
pBuckets
- the base of the complete DataBucket
DataBucket
public LogValue combineBucketsForModification(int pRevisionsToRestore, long pNewBucketKey, DataBucket[] pBuckets, boolean pFullDump)
DataBucket
for reading as well as a
DataBucket for serializing with the datas to write already on there.combineBucketsForModification
in interface IRevisioning
pRevisionsToRestore
- number of revisions to restorepNewBucketKey
- bucket key of the new bucketpBuckets
- the base of the complete DataBucketpFullDump
- boolean if entire bucket should be written. Must be triggered from extern since it is based on
the revisionToRestore-ParamLogValue
holding a complete DataBucket
for reading a one
for writingCopyright © 2013. All Rights Reserved.