|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.SingleEntryAsyncQueue
Provides a synchronizing queue that holds a single entry (eg a single Selenium Command).
Constructor Summary | |
SingleEntryAsyncQueue()
|
Method Summary | |
void |
clear()
|
java.lang.Object |
get()
Retrieves the item from the queue. |
int |
getTimeout()
|
void |
put(java.lang.Object thing)
Puts something in the queue. |
static void |
setDefaultTimeout(int defaultTimeout)
|
void |
setTimeout(int timeout)
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SingleEntryAsyncQueue()
Method Detail |
public void clear()
public int getTimeout()
public void setTimeout(int timeout)
public java.lang.Object get()
Retrieves the item from the queue.
If there's nothing in the queue right now, wait a period of time for something to show up.
SeleniumCommandTimedOutException
- if the timeout is exceeded.public int size()
public java.lang.String toString()
public void put(java.lang.Object thing)
Puts something in the queue.
If there's already something available in the queue, wait for that item to get picked up and removed from the queue.
public static void setDefaultTimeout(int defaultTimeout)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |