public static class DirectIoTransactionEditor.TransactionInfo extends Object
Constructor and Description |
---|
TransactionInfo(String executionId,
long timestamp,
boolean committed,
List<String> comment)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getComment()
Returns the comment for this commit.
|
String |
getExecutionId()
Returns the target execution ID.
|
long |
getTimestamp()
Returns the commit start timestamp.
|
boolean |
isCommitted()
Returns whether this transaction was committed.
|
public TransactionInfo(String executionId, long timestamp, boolean committed, List<String> comment)
executionId
- the execution IDtimestamp
- timestampcommitted
- whether this transaction was committedcomment
- comment for this transactionIllegalArgumentException
- if some parameters were null
public String getExecutionId()
public long getTimestamp()
public boolean isCommitted()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.