Interface TransactionSet<T extends PersistentData>
- Type Parameters:
T
- subclass ofPersistentData
, the type of data stored in each transaction
- All Known Implementing Classes:
BasicTransactionSet
public interface TransactionSet<T extends PersistentData>
An interface for a set of transactions.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the total number of data in this transaction set.Returns a list ofForwardTransaction
for this transaction set.
-
Method Details
-
getDataCount
int getDataCount()Returns the total number of data in this transaction set.- Returns:
- the number of data
-
getTransactions
List<ForwardTransaction<T>> getTransactions()Returns a list ofForwardTransaction
for this transaction set.- Returns:
- a list of forward transactions
-