com.neeve.rog.log
Class RogLogReader.Transaction

java.lang.Object
  extended by com.neeve.rog.log.RogLogReader.Transaction
Enclosing class:
RogLogReader

public static final class RogLogReader.Transaction
extends Object

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

getId

public final long getId()
Get the transaction id


getState

public final RogLogReader.Transaction.State getState()
Get the transaction state


getEntries

public final List<RogLog.Entry> getEntries(boolean sorted)
Get a transaction's entries.

Parameters:
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.

getEntries

public final List<RogLog.Entry> getEntries()
Get a transaction's entries.

Invoking this method is equivalent to invoking getEntries(true)



Copyright © 2015 Neeve Research, LLC. All Rights Reserved.