Class Joiner
- java.lang.Object
-
- org.jboss.byteman.synchronization.Joiner
-
public class Joiner extends java.lang.Object
class used by default helper to implement join dependencies between threads
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Joiner.Status
status values returned from child add method
-
Constructor Summary
Constructors Constructor Description Joiner(int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Joiner.Status
addChild(java.lang.Thread thread)
int
getMax()
boolean
joinChildren(java.lang.Thread thread, long millis)
-
-
-
Method Detail
-
getMax
public int getMax()
-
addChild
public Joiner.Status addChild(java.lang.Thread thread)
-
joinChildren
public boolean joinChildren(java.lang.Thread thread, long millis)
-
-