Package | Description |
---|---|
com.playsql.utils.activeobjects.cache |
All sorts of caches: the AOPreloader, the AbstractAOCache, and most famously, the DAOCache.
|
com.playsql.utils.migration.v60 |
Modifier and Type | Class and Description |
---|---|
static class |
DAOCache.DBDAOCache<K,T extends net.java.ao.RawEntity<K>>
This cache looks up in the database, but also keeps all data that was ever retrieved, in cache
|
static class |
DAOCache.InMemoryDAOCache<K,T extends net.java.ao.RawEntity<K>>
This cache looks up data in its internal list.
|
static class |
DAOCache.InMemoryDAOCacheWithTrackKeeping<K,T extends net.java.ao.RawEntity<K>>
This cache looks up data in its internal list.
|
Modifier and Type | Field and Description |
---|---|
(package private) DAOCache<Long,U> |
AOListPreloader.Page.daoCache |
private DAOCache<K,T> |
RecordTemplateImpl.parentDAOCache
Not exactly necessary, but keeping a reference to the cache allows for the convenience methods
such as .create(), .createOrUpdate().
|
Modifier and Type | Field and Description |
---|---|
(package private) Supplier<DAOCache<Long,U>> |
AOListPreloader.Page.daoCacheSupplier |
Modifier and Type | Method and Description |
---|---|
private DAOCache<Long,U> |
AOListPreloader.Page.getCache() |
Modifier and Type | Method and Description |
---|---|
void |
RecordTemplateImpl.setParentDAOCache(DAOCache<K,T> parentDAOCache) |
Constructor and Description |
---|
Page(Set<Long> preloadedRequirementIds,
Supplier<DAOCache<Long,U>> daoCacheSupplier) |
Modifier and Type | Method and Description |
---|---|
protected <T extends AOMigratedEntity,U extends LongEntity> |
AbstractV60MigrationEntitiesTask.migrateEntity(Class<T> aoEntityToMigrate,
Class<U> dbEntityToCreate,
BiFunction<DAOCache<Long,U>,T,Boolean> migrateFunction)
Migrate all records of an AO entity.
|
Copyright © 2022 Requirement Yogi. All rights reserved.