New draft for distributed execution framework
by Trustin Lee
Hi folks,
I posted the new draft for the distributed execution framework. It's
written based on the discussion between Vladimir and me. I initially
thought about publishing the API as a git branch, but I guess it's a
good idea to have a couple rounds before doing that. I tried to be as
specific as possible, but please feel free to let me know what could be
improved, what is missing, and so on.
Cheers,
Trustin
14 years
JIRA links in pull requests
by Galder Zamarreño
When you send pull requests, can you put a link to the JIRA you're fixing to make life easier for the person reviewing/pulling it?
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
14 years
PTO
by Mircea Markus
FYI, I'm off this Thu and Fr.
Cheers,
Mircea
14 years
CacheContainer.getCache
by Mircea Markus
Hi,
if there is no such cache defined in the configuration with name "undefinedCacheName" and CacheContainer.getCache("undefinedCacheName") is called then an cache with default configuration and that name is first defined and then instantiated and returned.
Anyone remembers what the requirement were for this is?
IMO an exception should be thrown and user should be notified that the cache is not defined. This way we can fail fast e.g. If the user forgets to define a cache or misspells its name.
If this behaviour is needed, an approach would be to create an specialised method to handle this: getAndDefineCache...
There is code that already relies on the fact that the cache is already defined: see InboundInvocationHandler.handle.
Cheers,
Mircea
14 years