public class Joiner extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Joiner.Status |
status values returned from child add method
|
Constructor | Description |
---|---|
Joiner(int max) |
Modifier and Type | Method | Description |
---|---|---|
Joiner.Status |
addChild(Thread thread) |
|
int |
getMax() |
|
boolean |
joinChildren(Thread thread,
long millis) |
public int getMax()
public Joiner.Status addChild(Thread thread)
public boolean joinChildren(Thread thread, long millis)
Copyright © 2018. All rights reserved.