Package com.luciad.fusion.tilestore
Class TLfnTransactionStatus
java.lang.Object
com.luciad.fusion.tilestore.TLfnTransactionStatus
A representation of the transaction status on the server.
A transaction status represents the latest transaction which has been committed on the server.
Transactions are useful for tracking commitment of asynchronous write operations on the server, for instance tile addition.
A logical transaction is uniquely identified by two properties:
- transaction management ID
- transaction ID
- Since:
- 10.0
-
Constructor Summary
ConstructorsConstructorDescriptionTLfnTransactionStatus(long aTransactionManagementId, long aHighestCommittedTransactionId) Constructs a new transaction status. -
Method Summary
Modifier and TypeMethodDescriptionlongGets the highest committed transaction ID.longGets the unique transaction management ID.booleanisCommitted(long aTransactionId) Returns whether a specified transaction has been committed in this state.toString()
-
Constructor Details
-
TLfnTransactionStatus
public TLfnTransactionStatus(long aTransactionManagementId, long aHighestCommittedTransactionId) Constructs a new transaction status.- Parameters:
aTransactionManagementId- the unique transaction management IDaHighestCommittedTransactionId- the highest committed transaction ID
-
-
Method Details
-
getTransactionManagementId
public long getTransactionManagementId()Gets the unique transaction management ID.- Returns:
- the unique transaction management ID
-
getHighestCommittedTransactionId
public long getHighestCommittedTransactionId()Gets the highest committed transaction ID.- Returns:
- the highest committed transaction ID
-
isCommitted
public boolean isCommitted(long aTransactionId) Returns whether a specified transaction has been committed in this state.- Parameters:
aTransactionId- the transaction ID- Returns:
trueif the transaction with IDaTransactionIdhas been committed in this state.
-
toString
-