Custom Object Stores
Object stores are the foundational storage layer of the BoxLang cache engine
What are Object Stores?
Key Characteristics:
Built-in Object Store Types
The IObjectStore Interface
Creating a Custom Object Store
Step 1: Extend AbstractStore (Recommended)
Step 2: Implement Core Storage Methods
Step 3: Implement Introspection Methods
Step 4: Implement Eviction Support
Step 5: Handle Bulk Operations
Configuration
Best Practices
Performance Considerations
Error Handling
Eviction Integration
Resource Management
Integration with Cache Providers
Testing Your Custom Store
Conclusion
Last updated
Was this helpful?
