Interface TotalOrderLatch
-
- All Known Implementing Classes:
TotalOrderLatchImpl
@Deprecated public interface TotalOrderLatchDeprecated.since 10.0. Total Order will be removed.Behaves as a latch betweenorg.infinispan.commands.tx.PrepareCommanddelivered in total order to coordinate conflicting transactions and betweenorg.infinispan.commands.tx.PrepareCommandand state transfer (blocking the prepare until the state transfer is finished and blocking the state transfer until all the prepared transactions has finished)- Since:
- 5.3
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidawaitUntilUnBlock()Deprecated.It waits for this synchronization block to be unblocked.booleanisBlocked()Deprecated.voidunBlock()Deprecated.Unblocks this synchronization block
-
-
-
Method Detail
-
isBlocked
boolean isBlocked()
Deprecated.- Returns:
- true if this synchronization block is blocked
-
unBlock
void unBlock()
Deprecated.Unblocks this synchronization block
-
awaitUntilUnBlock
void awaitUntilUnBlock() throws java.lang.InterruptedExceptionDeprecated.It waits for this synchronization block to be unblocked.- Throws:
java.lang.InterruptedException- if interrupted while waiting.
-
-