|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.rog.log.RogLogReader.Transaction
public static final class RogLogReader.Transaction
Represents a transaction log transaction (entries grouped by application transaction)
Nested Class Summary | |
---|---|
static class |
RogLogReader.Transaction.State
Enumerates the various transaction states. |
Method Summary | |
---|---|
List<RogLog.Entry> |
getEntries()
Get a transaction's entries. |
List<RogLog.Entry> |
getEntries(boolean sorted)
Get a transaction's entries. |
long |
getId()
Get the transaction id |
RogLogReader.Transaction.State |
getState()
Get the transaction state |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final long getId()
public final RogLogReader.Transaction.State getState()
public final List<RogLog.Entry> getEntries(boolean sorted)
sorted
- Indicates whether to sort the transaction
entries. A sorted set of transaction entries contains
the replicated entries first followed by message entries.
The order in which the replicated entries and the message
entries are unaltered from the order they appear in the
log.public final List<RogLog.Entry> getEntries()
Invoking this method is equivalent to invoking getEntries(true)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |