On 09/15/2011 05:34 PM, Paul Ferraro wrote:
I've created a draft of what I thought could be workable schema
for the
remote and jdbc cache stores and would like some feedback.
The amended Infinispan subsystem schema can be found here:
https://github.com/pferraro/jboss-as/blob/master/build/src/main/resources...
For the jdbc cache stores, which come in 3 flavors, I've consolidated
Looks good. We need to document how a user can specify a custom key
mapper. Would this be in the documentation annotation of the
<jdbc-store> or provided elsewhere ?
The schema for the remote cache store is far simpler. You can
specify a
specific remote cache name, server list, and hot rod client properties
are directly enumerated:
e.g.
<remote-store cache="some-named-cache"
servers="127.0.0.1:11311">
<property
name="infinispan.client.hotrod.request_balancing_strategy">...</property>
</remote-store>
I see that you also exposed tcp_no_delay and socket_timeout
in your
latest code. Good.
I haven't started on the cloud-based store yet, as it's kind
of a
dependency nightmare.
Do we really want to include the low-level cloud
implementations as part
of AS7 ? We don't provide JDBC drivers.
Tristan