jahia-java-concurrency
OfficialGuarantee Jahia backend thread safety.
AuthorJahia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Jahia backend concurrency issues can lead to data races, stale reads, and subtle failures. This skill provides patterns and guidelines to ensure thread-safe development and review.
Core Features & Use Cases
- Immutability — prefer final fields, use records for configs, and return copies or unmodifiable views.
- Proper synchronization primitives — when to use volatile, atomic variables, synchronized blocks, and locks, and how to avoid common pitfalls.
- Safe resource handling — never share JCR sessions across threads; isolate per-thread access and lifecycle.
- Thread-safe collections and patterns — appropriate use of concurrent collections and atomic operators to avoid race conditions.
- Design guidance — minimize locked time, avoid IO inside critical sections, and clearly document thread-safety contracts.
Quick Start
Audit a Jahia backend class for thread-safety issues and apply the described patterns to ensure safe concurrent access.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jahia-java-concurrency Download link: https://github.com/Jahia/formidable/archive/main.zip#jahia-java-concurrency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.