org.infinispan.transaction.totalorder
Class TotalOrderLatchImpl
java.lang.Object
org.infinispan.transaction.totalorder.TotalOrderLatchImpl
- All Implemented Interfaces:
- TotalOrderLatch
public class TotalOrderLatchImpl
- extends Object
- implements TotalOrderLatch
Implementation of TotalOrderLatch
- Since:
- 5.3
- Author:
- Pedro Ruivo
TotalOrderLatchImpl
public TotalOrderLatchImpl(String name)
isBlocked
public boolean isBlocked()
- Specified by:
isBlocked
in interface TotalOrderLatch
- Returns:
- true if this synchronization block is blocked
unBlock
public void unBlock()
- Description copied from interface:
TotalOrderLatch
- Unblocks this synchronization block
- Specified by:
unBlock
in interface TotalOrderLatch
awaitUntilUnBlock
public void awaitUntilUnBlock()
throws InterruptedException
- Description copied from interface:
TotalOrderLatch
- It waits for this synchronization block to be unblocked.
- Specified by:
awaitUntilUnBlock
in interface TotalOrderLatch
- Throws:
InterruptedException
- if interrupted while waiting.
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.