public class ModificationTally extends Object
| Constructor and Description |
|---|
ModificationTally(Db db,
String trackedName)
Creates a modification counter for a given tracked name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToModificationTable()
Adds this counter to the modification table.
|
long |
countPending()
Adds a pending count.
|
long |
getId()
Gets the ID of the counter.
|
long |
getLatestSerial()
Gets the latest serial updated by this counter.
|
long |
getModificationCount()
Get the current modification count by tablename.
|
long |
getPendingCount()
Gets the pending count.
|
void |
performPendingCount()
Performs the physical pending count if pending count > 0.
|
void |
setLastSerial(long lastSerial)
Sets the last serial.
|
public long getId()
public long countPending()
public long getPendingCount()
public void setLastSerial(long lastSerial)
lastSerial - the serialpublic long getLatestSerial()
public void performPendingCount()
public void addToModificationTable()
public long getModificationCount()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.