org.jboss.byteman.synchronization
Class Joiner

java.lang.Object
  extended by 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
static class Joiner.Status
          status values returned from child add method
 
Constructor Summary
Joiner(int max)
           
 
Method Summary
 Joiner.Status addChild(java.lang.Thread thread)
           
 int getMax()
           
 boolean joinChildren(java.lang.Thread thread)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Joiner

public Joiner(int max)
Method Detail

getMax

public int getMax()

addChild

public Joiner.Status addChild(java.lang.Thread thread)

joinChildren

public boolean joinChildren(java.lang.Thread thread)


Copyright © 2012. All Rights Reserved.