|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileParticipantDetail
Details final profile state associated with a single participant of a transaction.
| Method Summary | |
|---|---|
long |
getAbortTime()
Returns the length of time this participant spent aborting if the transaction failed to commit. |
long |
getCommitTime()
Returns the length of time this participant spent committing. |
String |
getParticipantName()
Returns the name of this participant. |
long |
getPrepareTime()
Returns the length of time this participant spent preparing to commit, regardless of whether preparation succeeded. |
boolean |
wasCommitted()
Returns whether this participant was successfully committed. |
boolean |
wasCommittedDirectly()
Returns whether this participant was called to prepare and commit in one step (via TransactionParticipant.prepareAndCommit). |
boolean |
wasPrepared()
Returns whether this participant finished preparing to commit at the conclusion of the transaction. |
boolean |
wasReadOnly()
Returns the vote that the participant returned from preparation. |
| Method Detail |
|---|
String getParticipantName()
boolean wasPrepared()
true if this participant finished preparing,
false otherwiseboolean wasReadOnly()
wasPrepared is false, then this method's
return value has no meaning and will always return false.
true if the participant returned from preparation
with a vote of read-only, false otherwiseboolean wasCommitted()
true if this participant committed,
false otherwiseboolean wasCommittedDirectly()
TransactionParticipant.prepareAndCommit).
If this returns true then both getPrepareTime
and getCommitTime will return the same value, as they
represent the same work. If the return from wasCommitted
is false then the call to prepareAndCommit
failed.
true if this participant was called directly to
commit, false otherwiselong getPrepareTime()
long getCommitTime()
long getAbortTime()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||