public class TotalOrderLatchImpl extends Object implements TotalOrderLatch
TotalOrderLatch
Constructor and Description |
---|
TotalOrderLatchImpl(String name) |
Modifier and Type | Method and Description |
---|---|
void |
awaitUntilUnBlock()
It waits for this synchronization block to be unblocked.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBlocked() |
String |
toString() |
void |
unBlock()
Unblocks this synchronization block
|
public TotalOrderLatchImpl(String name)
public boolean isBlocked()
isBlocked
in interface TotalOrderLatch
public void unBlock()
TotalOrderLatch
unBlock
in interface TotalOrderLatch
public void awaitUntilUnBlock() throws InterruptedException
TotalOrderLatch
awaitUntilUnBlock
in interface TotalOrderLatch
InterruptedException
- if interrupted while waiting.Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.