|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void commitRead()
void commitWrote()
int generatePromise()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |