| Constructor and Description |
|---|
WaitTimeout(int millis) |
| Modifier and Type | Method and Description |
|---|---|
a |
getWaitedObject() |
protected abstract a |
handle()
this is the handle routine that may take longer
it should return the expected object when completed |
a |
peekWaitedObject() |
void |
run() |
protected void |
setup()
called prior to starting thread, overwrite to initialize in the constructor
|
void |
start()
start the thread
|
String |
toString() |
protected String baseName
public WaitTimeout(int millis)
millis - wait timeout in millisecondsprotected abstract a handle()
protected void setup()
public final void start()
public final void run()
run in interface RunnableRunnable.run()public final a getWaitedObject()
public final a peekWaitedObject()
public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.