public class TrackerClass
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
TrackerClass.CommitEvent |
protected static class |
TrackerClass.DataChange |
protected static class |
TrackerClass.GlobalChange |
protected static class |
TrackerClass.HistoryRecord |
protected static class |
TrackerClass.JobChange |
protected static class |
TrackerClass.PrecommitEvent |
protected static class |
TrackerClass.PrereadEvent |
protected static class |
TrackerClass.ReadEvent |
protected static class |
TrackerClass.RecordChange |
protected static class |
TrackerClass.TransactionData |
Modifier and Type | Field and Description |
---|---|
protected static java.util.List<TrackerClass.HistoryRecord> |
history |
protected static long |
HISTORY_LENGTH |
protected static java.util.Map<java.lang.String,TrackerClass.TransactionData> |
transactionData |
Modifier and Type | Method and Description |
---|---|
protected static void |
addChange(TrackerClass.DataChange dc) |
static void |
noteCommit()
Note a commit operation.
|
static void |
noteGlobalChange(java.lang.String description)
Add a global event, as yet uncommitted, which has the potential
to affect the state of any record.
|
static void |
noteJobChange(java.lang.Long jobID,
java.lang.String description)
Add a global event, as yet uncommitted, which has the potential
to affect any record's state in a given job.
|
static void |
notePrecommit()
Note that we are about to commit.
|
static void |
notePreread(java.lang.Long recordID)
Note about to read status operation.
|
static void |
noteRead(java.lang.Long recordID)
Note a read status operation.
|
static void |
noteRecordChange(java.lang.Long recordID,
int newStatus,
java.lang.String description)
Add a single record event, as yet uncommitted
|
static void |
noteRollback()
Note a rollback operation.
|
static void |
printForensics(java.lang.Long recordID,
int existingStatus) |
protected static final long HISTORY_LENGTH
protected static final java.util.Map<java.lang.String,TrackerClass.TransactionData> transactionData
protected static final java.util.List<TrackerClass.HistoryRecord> history
public static void noteRecordChange(java.lang.Long recordID, int newStatus, java.lang.String description)
public static void noteJobChange(java.lang.Long jobID, java.lang.String description)
public static void noteGlobalChange(java.lang.String description)
protected static void addChange(TrackerClass.DataChange dc)
public static void notePrecommit()
public static void noteRead(java.lang.Long recordID)
public static void notePreread(java.lang.Long recordID)
public static void noteCommit()
public static void noteRollback()
public static void printForensics(java.lang.Long recordID, int existingStatus)