|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rocketsoftware.mvapi.pool.MVPoolWaiter
public class MVPoolWaiter
Maintains notify and wait mechanism for handling of connect requests waiting for checked in connections
Constructor Summary | |
---|---|
MVPoolWaiter()
Default constructor. |
Method Summary | |
---|---|
boolean |
isClosing()
Gets indicator for pool waiter is closing |
boolean |
isTimedOut()
Gets indicator for pool waiter timed out |
void |
setIsClosing(boolean value)
Sets indicator for pool waiter is closing |
void |
setIsTimedOut(boolean value)
Sets indicator for pool waiter timed out |
boolean |
setNotify()
Set notify to wake up pool waiter |
void |
waitForNotify(long maxWaitTime)
Pool waiter waits to be notified |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MVPoolWaiter()
Method Detail |
---|
public boolean isTimedOut()
public void setIsTimedOut(boolean value)
value
- The flag for pool waiter timed outpublic boolean isClosing()
public void setIsClosing(boolean value)
value
- The flag for pool waiter is closingpublic boolean setNotify()
public void waitForNotify(long maxWaitTime)
maxWaitTime
- long for maximum time to wait to be notified
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |