|
From: <gal...@jb...> - 2006-06-25 14:24:56
|
I've been a bit productive this weekend and implemented the configuration side and unit tested the SingletonCacheLoader using a DummyCacheLoader as the delegated cache loader. The original code seems to working fine :-). Configuration wise, I've gone for the element/attribute pattern. In terms of validation, singleton should not be used neither with shared nor with evictions as it would not make sense at all. Therefore, I have added validations to check this on startup. Now, in order to get the pushStateWhenCoordinator feature done, the only method that I can use seems to be: TreeCache._getState(Fqn fqn, boolean fetchTransientState, boolean fetchPersistentState, long timeout, boolean force, boolean suppressErrors) fetchTransientState would be true and fetchPesistentState false, however, I am not sure what timeout should I use. Should I used a hardcoded value or should I add to the configuration? Also, I guess force should be hardcoded to false. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953279#3953279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953279 |