|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.otfeed.protocol.request.AbstractStreamWithSnapshotRequest
public abstract class AbstractStreamWithSnapshotRequest
Base for synthetic requests: a snapshot request followed by a stream request.
| Method Summary | |
|---|---|
void |
cancel()
|
void |
fireCompleted(OTError error)
Internal method: used to wake up threads sleeping in waitForCompletion(). |
OTError |
getError()
|
boolean |
isCompleted()
|
void |
prepareRequest()
|
void |
submit()
|
void |
waitForCompletion()
Convenience method: blocks calling thread until request finishes. |
boolean |
waitForCompletion(long millis)
Convenience method: blocks calling thread until request finishes, or the specified number of milliseconds elapses. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final void prepareRequest()
public void submit()
public void cancel()
public final OTError getError()
public final void fireCompleted(OTError error)
waitForCompletion().
public final boolean isCompleted()
public final boolean waitForCompletion(long millis)
millis - how long to wait for completion.public final void waitForCompletion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||