EN · DE · RU · FR · ES

#266: SkillStatisticsCache.kt

plugins/org.projectforge.plugins.skillmatrix/src/main/kotlin/org/projectforge/plugins/skillmatrix/SkillStatisticsCache.kt · Cache Manager · 151 lines · 95 code · 41 comments · 15 blank

Part of the Skill Matrix plugin. Cache Manager.

Kotlin Class implementing SkillStatisticsCache.

Structure

SkillStatisticsCacheopen class : AbstractCache(), BaseDOModifiedListener<SkillEntryDO>.

Key dependencies: jakarta.annotation.PostConstruct, org.projectforge.framework.access.OperationType, org.projectforge.framework.cache.AbstractCache, org.projectforge.framework.persistence.api.BaseDOModifiedListener, org.projectforge.framework.persistence.jpa.PfPersistenceService, org.springframework.beans.factory.annotation.Autowired, org.springframework.stereotype.Service

Design Decisions

Gotchas & Pitfalls

Git History

CommitDescription
868d6abb72025 -> 2026 (minor edit, license header update)
63081666fSource file headers: 2024-> 2025. (minor edit, license header update)
0ceceb28fAll cache refreshs are now running in isolated transactions or contexts. (substantial changes, updated imports)
87dd5b87cAuftragsCache refactored, migration stuff... (all tests OK) (minor edit, method changes)
6f7e0fbc7Migration stuff in progress... (minor edit, updated imports)
5989b32fdBaseDao: mechanism of onChangeLister refactored.
1b50060c3BaseDao: renamed: get -> find, save -> insert, getList -> select, load -> select
2a8ea2076Migration stuff in progress... BaseDao refactored (not yet finished) internal* methods renamed.
3aeda5ef5Big change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
b095e6f7d!!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.