void notifyCacheCollected ( ) { int result = expectedCaches . decrementAndGet ( ) ; if ( isTraceEnabled ( ) ) { log ( ) . tracef ( "[%s] Cache collected. Missing=%s." , xid , result ) ; } if ( result == 0 ) { onCachesCollected ( ) ; } }
Invoked every time a cache is found to be involved in a transaction .