@ProviderType public interface ITransactionStorageProvider
Modifier and Type | Method and Description |
---|---|
void |
flush()
This method can be called by clients to ensure that the implementation completes any pending storage tasks.
|
java.util.List<TransactionSummary> |
getAllTransactionSummaries(ResourceResolver resourceResolver)
Returns a list of persisted
TransactionSummary of all servers linked to the current server. |
TransactionSummary |
getTransactionSummary(ResourceResolver resourceResolver)
Returns the persisted
TransactionSummary corresponding to the current server. |
void |
resetTransactionCount(ResourceResolver resourceResolver)
Resets the transaction-summary counts for all servers linked to the current server.
|
void |
storeTransaction(PersistentTransactionRecord record)
Store the
PersistentTransactionRecord record to an underlying storage layer. |
void storeTransaction(PersistentTransactionRecord record) throws TransactionException
PersistentTransactionRecord
record
to an underlying storage layer.record
- A PersistentTransactionRecord
which contains the Transaction information that needs to be
persisted.TransactionException
void flush() throws TransactionException
TransactionException
TransactionSummary getTransactionSummary(ResourceResolver resourceResolver) throws TransactionException
TransactionSummary
corresponding to the current server.resourceResolver
- The caller's ResourceResolver
TransactionSummary
corresponding to the current server.TransactionException
java.util.List<TransactionSummary> getAllTransactionSummaries(ResourceResolver resourceResolver) throws TransactionException
TransactionSummary
of all servers linked to the current server.resourceResolver
- The caller's ResourceResolver
TransactionSummary
for all linked servers.TransactionException
void resetTransactionCount(ResourceResolver resourceResolver) throws TransactionException
resourceResolver
- The caller's ResourceResolver
TransactionException
Copyright © 2010 - 2020 Adobe. All Rights Reserved