20.6. Transaction Synchronization
20.6.1. About Transaction Synchronizations
Synchronizations are a type of listener that receives notifications about events leading to the transaction life cycle. Synchronizations receive an event just before and just after completion of an operation.
Synchronizations are primarily useful when specific tasks must be triggered before or after an event. An common application for synchronizations are clearing out an application's caches after an operation (such as a transaction) concludes.
In JBoss Data Grid, synchronizations are only available in Library mode.