public class DefaultStatistics extends java.lang.Object implements Statistics
Modifier and Type | Field and Description |
---|---|
static DefaultStatistics |
instance |
Constructor and Description |
---|
DefaultStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
commitRead()
Called whenever a transaction that read the object is committed
|
void |
commitWrote()
Called whenever a transaction that wrote the object is committed
|
int |
generatePromise()
Determine the duration of a promise to issue.
|
public static final DefaultStatistics instance
public void commitRead()
Statistics
commitRead
in interface Statistics
public void commitWrote()
Statistics
commitWrote
in interface Statistics
public int generatePromise()
Statistics
generatePromise
in interface Statistics