T - log record typepublic class TransactionLog<T> extends Object
| Constructor and Description | 
|---|
TransactionLog(TransactionId transactionId,
              long version,
              List<T> records)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object object)  | 
int | 
hashCode()  | 
<U> TransactionLog<U> | 
map(Function<T,U> mapper)
Maps this instance to another  
MapTransaction with different key and value types. | 
List<T> | 
records()
Returns the list of transaction log records. 
 | 
String | 
toString()  | 
TransactionId | 
transactionId()
Returns the transaction identifier. 
 | 
long | 
version()
Returns the transaction lock version. 
 | 
public TransactionLog(TransactionId transactionId, long version, List<T> records)
public TransactionId transactionId()
public long version()
public List<T> records()
public <U> TransactionLog<U> map(Function<T,U> mapper)
MapTransaction with different key and value types.U - record type of returned instancemapper - function for mapping record types