13 lines
431 B
Java
13 lines
431 B
Java
package com.minres.scviewer.database.tx;
|
|
|
|
import java.util.List;
|
|
|
|
/** Optional indexed access scoped to one transaction stream or generator. */
|
|
public interface ITransactionProvider {
|
|
/** Immutable list ordered by begin time and transaction ID; does not load attributes. */
|
|
List<ITx> getTransactionList();
|
|
|
|
/** Returns null when the ID does not belong to this stream or generator. */
|
|
ITx getTransaction(long id);
|
|
}
|