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
InterruptedException
public void countDown()
public long getCount()
Copyright © 2008–2023 The CometD Project. All rights reserved.