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)


Method Summary
 List<RogLog.Entry> getEntries()
          Get a transaction's entries.
 List<RogLog.Entry> getEntries(boolean sorted)
          Deprecated. Since 3.4 - Sorting transaction log entries is no longer supported.
 long getId()
          Get the transaction id
 boolean isComplete()
          Get if the transaction is complete
 
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


isComplete

public final boolean isComplete()
Get if the transaction is complete


getEntries

@Deprecated
public final List<RogLog.Entry> getEntries(boolean sorted)
Deprecated. Since 3.4 - Sorting transaction log entries is no longer supported.

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 © 2016 Neeve Research, LLC. All Rights Reserved.