|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockingRunnable
A special Runnable (for the particular case of Total Order) that is only sent to a thread when it is ready to be executed without blocking the thread
Use case: - in Total Order, when the prepare is delivered, the runnable blocks waiting for the previous conflicting transactions to be finished. In a normal executor service, this will take a thread and that thread will be blocked. This way, the runnable waits on the queue and not in the Thread Used inorg.infinispan.util.concurrent.BlockingTaskAwareExecutorService
Method Summary | |
---|---|
boolean |
isReady()
|
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
boolean isReady()
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |