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()
StatisticscommitRead in interface Statisticspublic void commitWrote()
StatisticscommitWrote in interface Statisticspublic int generatePromise()
StatisticsgeneratePromise in interface Statistics