[jboss-cvs] JBossCache/src/org/jboss/cache/notifications ...
Manik Surtani
manik at jboss.org
Fri Jun 15 09:18:59 EDT 2007
User: msurtani
Date: 07/06/15 09:18:59
Modified: src/org/jboss/cache/notifications Notifier.java
Log:
view change notification should happen in the same thread
Revision Changes Path
1.32 +10 -9 JBossCache/src/org/jboss/cache/notifications/Notifier.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Notifier.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/notifications/Notifier.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- Notifier.java 15 Jun 2007 12:37:56 -0000 1.31
+++ Notifier.java 15 Jun 2007 13:18:59 -0000 1.32
@@ -408,16 +408,17 @@
}
if (hasListeners)
{
- getExecutor().execute(new Runnable()
- {
- public void run()
- {
+ // this happens in realtime in the same thread
+// getExecutor().execute(new Runnable()
+// {
+// public void run()
+// {
for (CacheListener listener : listeners)
{
listener.viewChange(new_view);
}
- }
- });
+// }
+// });
}
// restoreInvocationContext(backup);
}
More information about the jboss-cvs-commits
mailing list