|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.model.AsyncFetcher
public abstract class AsyncFetcher
Class vended by AsyncFetch for performing data fetch operations off of the Request thread.
AsyncFetch
Constructor Summary | |
---|---|
AsyncFetcher() |
Method Summary | |
---|---|
abstract java.lang.Object |
fetch(AsyncFetch model, java.lang.Object fetchConstraint) Tells the model to fetch the data specified by the fetchConstraint. |
abstract boolean |
isFetched(AsyncFetch model, java.lang.Object fetchConstraint) Returns true if the fetchConstraint is of a type supported by the model and all of the data specified by the fetchConstraint is either in memory or unavailable for fetching. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncFetcher()
Method Detail |
---|
public abstract boolean isFetched(AsyncFetch model, java.lang.Object fetchConstraint)
true
if the fetchConstraint is of a type supported by the model and all of the data specified by the fetchConstraint is either in memory or unavailable for fetching. An example where the data is unavailable would be a fetchConstraint that specified a row index beyond the model's row count.
If determining whether the fetchConstraint is cached in memory is extremely expensive, the implementation should return false
.
model
- AsyncFetch model to ask if the fetchConstraint is already available in memoryfetchConstraint
- constraint specifying which data to fetchtrue
if the fetchConstraint is already available in memory for this model.fetch(oracle.adf.view.rich.model.AsyncFetch, java.lang.Object)
public abstract java.lang.Object fetch(AsyncFetch model, java.lang.Object fetchConstraint) throws java.lang.InterruptedException
The method will not return until all rows in the range have been fetched and cached.
This method may be called on a non-Request thread and the FacesContext may not be available.
model
- AsyncFetch model to fetch the data fromfetchConstraint
- Constraint specifying which data to fetchjava.lang.InterruptedException
isFetched(oracle.adf.view.rich.model.AsyncFetch, java.lang.Object)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |