Files
rocketmq/store
rongtong d197028f83 refactor: abstract StoreMetricsManager interface to support non-DefaultMessageStore (#9727)
- Create StoreMetricsManager interface to define unified metrics management methods
- Add getStoreMetricsManager() method to MessageStore interface
- Add flushBehindBytes() method to MessageStore interface to fix missing method calls
- Refactor DefaultStoreMetricsManager to implement StoreMetricsManager interface
- Update all MessageStore implementations to support the new interface
- Modify TimerMessageStore to use getStoreMetricsManager() instead of direct type checking

This refactoring resolves the issue where incTimerDequeueCount and incTimerEnqueueCount
methods cannot be called when messageStore is not a DefaultMessageStore, improving
code extensibility and decoupling.
2025-09-24 11:12:26 +08:00
..