public class ERXFetchResultCache extends Object
| Constructor and Description |
|---|
ERXFetchResultCache() |
| Modifier and Type | Method and Description |
|---|---|
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<? extends EOEnterpriseObject> eos,
EOFetchSpecification fs)
Registers eos for a given fetch spec.
|
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<? extends EOEnterpriseObject> eos, EOFetchSpecification fs)
ec - dbc - eos - fs - Copyright © 2002 – 2025 Project Wonder.