public class ERXFetchResultCache
extends java.lang.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<java.lang.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.
|
public NSArray<? extends EOEnterpriseObject> objectsForFetchSpecification(EODatabaseContext dbc, EOEditingContext ec, EOFetchSpecification fs)
ec - fs - protected NSArray<java.lang.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 - Copyright © 2002 – 2022 Project Wonder.