[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/misc ...
Manik Surtani
manik at jboss.org
Fri Mar 16 13:43:14 EDT 2007
User: msurtani
Date: 07/03/16 13:43:14
Modified: tests/functional/org/jboss/cache/misc TestingUtil.java
Log:
Overloaded blockUntilViewsReceived() with a version that uses varargs
Revision Changes Path
1.12 +8 -0 JBossCache/tests/functional/org/jboss/cache/misc/TestingUtil.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TestingUtil.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/misc/TestingUtil.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- TestingUtil.java 30 Dec 2006 17:50:03 -0000 1.11
+++ TestingUtil.java 16 Mar 2007 17:43:14 -0000 1.12
@@ -52,6 +52,14 @@
}
/**
+ * Version of blockUntilViewsReceived that uses varargs
+ */
+ public static void blockUntilViewsReceived(long timeout, Cache... caches)
+ {
+ blockUntilViewsReceived(caches, timeout);
+ }
+
+ /**
* Loops, continually calling {@link #areCacheViewsComplete(CacheImpl[])}
* until it either returns true or <code>timeout</code> ms have elapsed.
*
More information about the jboss-cvs-commits
mailing list