public class AutomaticLatch extends AbstractLatch
AbstractLatch.CountSynccontrol| Constructor and Description |
|---|
AutomaticLatch() |
AutomaticLatch(int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(Runnable newRun) |
void |
countDown() |
void |
countDown(int count) |
public AutomaticLatch()
public AutomaticLatch(int count)
public void afterCompletion(Runnable newRun)
public final void countDown()
countDown in class AbstractLatchpublic final void countDown(int count)
countDown in class AbstractLatchCopyright © 2022 The Apache Software Foundation. All rights reserved.