Sanne Grinovero wrote:
Maybe it could be possible to reserve some command numbers for
experiments? Or allow pluggable invocations?
I'd especially love an API to send a specific method with parameters
(like RMI) to the node owning a specific key - last time I mentioned
this need Bela mentioned a new sort of multiplexer to reuse the
JGroups channel, but at that time this was yet to be written.
Paul Ferraro wrote it, it's called
org.jgroups.blocks.mux.MuxRpcDispatcher, and the corresponding unit test
is MuxRpcDispatcherTest; it shows you how to use it. The benefit is that
it can reuse the same JGroups channel which Infinispan uses.
Take a look at it and see if this can be used...
A super cool feature would be for example to start Hibernate
Search's
JGroups backend on the same channel as Infinispan, having for example
all data sent to the one machine having a specific key.
Another extensibility I wish I had is to be able to plug my own
marshaller/externalizer (also had a thread about it).
--
Bela Ban
Lead JGroups / Clustering Team
JBoss