Class CacheTransactionSync

  • All Implemented Interfaces:
    Synchronization

    public class CacheTransactionSync
    extends Object
    implements Synchronization
    Adapter to synchronize the thread-local caches with the shared caches when the transaction commits. It's important that we don't share ids created inside a transaction with other threads until the data is committed - those ids are not visible to other threads/transactions (the 'I' in ACID).