|
Project Wonder 5.0.0.8795 | |||||||||
| 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(NSArray eos,
EOFetchSpecification fs)
Returns the time the result should stay in the cache. |
protected NSArray<String> |
excludedEntities()
Returns a list of entities that should not be cached. |
NSArray<? extends EOEnterpriseObject> |
objectsForFetchSpecification(EODatabaseContext dbc,
EOEditingContext ec,
EOFetchSpecification fs)
Returns an array of EOs that where cached for the given fetch specification or null. |
void |
setObjectsForFetchSpecification(EODatabaseContext dbc,
EOEditingContext ec,
NSArray<?> eos,
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 NSArray<? extends EOEnterpriseObject> objectsForFetchSpecification(EODatabaseContext dbc,
EOEditingContext ec,
EOFetchSpecification fs)
ec - fs - protected NSArray<String> excludedEntities()
protected long cacheTime(NSArray eos,
EOFetchSpecification fs)
fs -
public void setObjectsForFetchSpecification(EODatabaseContext dbc,
EOEditingContext ec,
NSArray<?> eos,
EOFetchSpecification fs)
ec - dbc - eos - fs -
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||