public interface Statistics
A Statistics encapsulates the history of read and write requests for an object. It is maintained at the Store and is used to generate promise durations for the object.
Statistics objects are created by the
Object.createStatistics()
method. They are only heuristic
information and may be discarded and recreated at any time.
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.
|
void commitRead()
void commitWrote()
int generatePromise()