Commit 1288945c00a5a52c2a2e53086224e85ddab3bb0a
1 parent
93719921ce
Exists in
master
MNT-16541: "Cache update for custom workflow model fails"
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/main/java/org/alfresco/util/cache/AbstractAsynchronouslyRefreshedCache.java
... | ... | @@ -25,6 +25,7 @@ import java.util.List; |
25 | 25 | import java.util.concurrent.Callable; |
26 | 26 | import java.util.concurrent.ThreadPoolExecutor; |
27 | 27 | import java.util.concurrent.locks.ReentrantReadWriteLock; |
28 | + | |
28 | 29 | import org.alfresco.util.PropertyCheck; |
29 | 30 | import org.alfresco.util.transaction.TransactionListener; |
30 | 31 | import org.alfresco.util.transaction.TransactionSupportUtil; |
... | ... | @@ -201,6 +202,8 @@ public abstract class AbstractAsynchronouslyRefreshedCache<T> |
201 | 202 | { |
202 | 203 | liveLock.writeLock().unlock(); |
203 | 204 | } |
205 | + | |
206 | + broadcastEvent(new RefreshableCacheRefreshedEvent(cacheId, key)); | |
204 | 207 | } |
205 | 208 | |
206 | 209 | protected void waitForBuild(Refresh refresh) | ... | ... |