T
- the return type of the transaction executionpublic static class PartitionMetadataDao.TransactionResult<T>
extends java.lang.Object
Constructor and Description |
---|
TransactionResult(T result,
com.google.cloud.Timestamp commitTimestamp) |
Modifier and Type | Method and Description |
---|---|
com.google.cloud.Timestamp |
getCommitTimestamp()
Returns the commit timestamp of the read / write transaction.
|
T |
getResult()
Returns the result of the transaction execution.
|
java.lang.String |
toString() |
public TransactionResult(@Nullable T result, com.google.cloud.Timestamp commitTimestamp)
@Nullable public T getResult()
public com.google.cloud.Timestamp getCommitTimestamp()
public java.lang.String toString()
toString
in class java.lang.Object