|
Sun Adapter for IMS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eways.ims.IMSClientRequestSynchronizer
public class IMSClientRequestSynchronizer
Constructor Summary | |
---|---|
IMSClientRequestSynchronizer()
Default constructor |
Method Summary | |
---|---|
boolean |
acquire(long waitTimeout)
Try to acquire a lock if lock is not available then wait for it. |
boolean |
isWaiting()
Determines whether there are any thread(s) waiting for the lock. |
void |
release()
Release acquired lock from previous call to acquire. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IMSClientRequestSynchronizer()
Method Detail |
---|
public boolean acquire(long waitTimeout) throws java.lang.Exception
waitTimeout
- long Number of msecs to wait for the lock if it's not
available.
java.lang.Exception
- If failed to wait for the lock.public void release()
public boolean isWaiting()
|
Sun Adapter for IMS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |