This content has been marked as final.
Show 3 replies
-
1. Re: StorageManager API
jmesnil Apr 17, 2009 9:22 AM (in response to jmesnil)If I'm not mistaken there are other useless dependencies for this API (PostOffice, addressSettingsRepository)
the simplest API that could possibly work is:public void loadMessageJournal(final PagingManager pagingManager, final ResourceManager resourceManager, final Map<Long, Queue> queues, final Map<SimpleString, List<Pair<byte[], Long>>> duplicateIDMap) throws Exception
I'm looking at the dependencies between components when the server is started. Having the minimal dependencies which *really* count helps see how things should be properly created/started/deployed. -
2. Re: StorageManager API
timfox Apr 17, 2009 9:24 AM (in response to jmesnil)Yes, please remove any unneeded dependencies :)
-
3. Re: StorageManager API
jmesnil Apr 17, 2009 9:34 AM (in response to jmesnil)It's when you have to draw a dependency graph than you really appreciate enforcing Demeter's law ;)