public class Base
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Base(long highestCompleted)
Create a base update with no changes
|
Modifier and Type | Method and Description |
---|---|
void |
add(Delta delta)
Add a delta
|
java.util.List<Delta> |
getDeltas() |
TransactionsStatus |
getStatus() |
void |
noteCompleted(long l)
Note that a transaction is completed
|
public Base(long highestCompleted)
highestCompleted
- the sequence number of the highest completed
transaction before the update is applied. (This will also be the
sequence number of the highest completed transaction after the update
is applied, as the update contains no changes.)public void add(Delta delta)
delta
- the delta to be addedpublic void noteCompleted(long l) throws TransactionSequenceException
l
- the sequence number of a completed transactionTransactionSequenceException
public TransactionsStatus getStatus()
public java.util.List<Delta> getDeltas()