public class AutomaticLatch extends AbstractLatch
AbstractLatch.CountSync
control
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 AbstractLatch
public final void countDown(int count)
countDown
in class AbstractLatch
Copyright © 2021 JBoss by Red Hat. All rights reserved.