|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.eof.ERXFetchResultCache
public class ERXFetchResultCache
Transparent cache for fetch results, uses ERXFetchSpecifictation.identifier() as a key.
| Constructor Summary | |
|---|---|
ERXFetchResultCache()
|
|
| Method Summary | |
|---|---|
protected long |
cacheTime(com.webobjects.foundation.NSArray eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
Returns the time the result should stay in the cache. |
protected com.webobjects.foundation.NSArray<java.lang.String> |
excludedEntities()
Returns a list of entities that should not be cached. |
com.webobjects.foundation.NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> |
objectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eocontrol.EOFetchSpecification fs)
Returns an array of EOs that where cached for the given fetch specification or null. |
void |
setObjectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.foundation.NSArray<?> eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
Registers eos for a given fetch spec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXFetchResultCache()
| Method Detail |
|---|
public com.webobjects.foundation.NSArray<? extends com.webobjects.eocontrol.EOEnterpriseObject> objectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eocontrol.EOFetchSpecification fs)
ec - fs - protected com.webobjects.foundation.NSArray<java.lang.String> excludedEntities()
protected long cacheTime(com.webobjects.foundation.NSArray eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
fs -
public void setObjectsForFetchSpecification(com.webobjects.eoaccess.EODatabaseContext dbc,
com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.foundation.NSArray<?> eos,
com.webobjects.eocontrol.EOFetchSpecification fs)
ec - dbc - eos - fs -
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||