public class ThreadSynchronizer extends Object
Constructor and Description |
---|
ThreadSynchronizer(boolean isBlocking) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBlockOwner(Thread thread) |
void |
releaseBlock() |
void |
releaseWaiting() |
boolean |
requestBlock(MessageStore store,
MessageObserver observer,
MessageHolder holder) |
public boolean requestBlock(MessageStore store, MessageObserver observer, MessageHolder holder) throws InterruptedException
InterruptedException
public boolean isBlockOwner(Thread thread)
public void releaseWaiting()
public void releaseBlock()
Copyright © 2014. All rights reserved.