public class Latch extends Object
| Constructor and Description |
|---|
Latch(int count) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout) |
void |
countDown() |
long |
getCount() |
void |
reset(int count) |
public void reset(int count)
public boolean await(long timeout)
throws InterruptedException
InterruptedExceptionpublic void countDown()
public long getCount()
Copyright © 2008–2024 The CometD Project. All rights reserved.