T - the object type.public class ActiveObjectCounter<T>
extends java.lang.Object
| Constructor and Description |
|---|
ActiveObjectCounter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T object) |
boolean |
await(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
int |
getCount() |
void |
release(T object) |
void |
reset() |