public interface TransactionControlManager
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
discardAll(RequestContext requestContext)
Discards all the resources previously registered using
registerTransactionalExternalCache(RequestContext, String, TransactionControl). |
void |
registerTransactionalExternalCache(RequestContext requestContext,
String cacheName,
TransactionControl control)
Register a
TransactionalExternalCache for synchronisation. |
void |
syncAll(RequestContext requestContext)
Synchronises all the resources previously registered using
registerTransactionalExternalCache(RequestContext, String, TransactionControl). |
void registerTransactionalExternalCache(RequestContext requestContext, String cacheName, TransactionControl control)
TransactionalExternalCache for synchronisation.requestContext - the context for trackingcacheName - the name of cache to be registeredcontrol - the control used to synchronise the cache.void syncAll(RequestContext requestContext)
registerTransactionalExternalCache(RequestContext, String, TransactionControl).requestContext - the context used for trackingSet<String> discardAll(RequestContext requestContext)
registerTransactionalExternalCache(RequestContext, String, TransactionControl).requestContext - the context used for trackingCopyright © 2016 Atlassian. All rights reserved.