<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<font color="#000099">Thanks Peter. The plan is for Dmitry and I to
at first extend VanillaSharedHashMap and groom it into an ISPN7
join via their DataContainer API bridge.<br>
<br>
That ExtendedVSHM will be morphed into a fully inter-operable
JCACHE operand will<br>
<br>
- initially be brokered by the ISPN 7 config (JSR107 <---->
VSHMExtendedDataContainer <----> VSHM)<br>
- eventually, possibly, be rendered with ExtendedVSHM directly
implementing javax.cache.Cache (in addititon to DataContainer)<br>
</font><br>
<div class="moz-cite-prefix">On 03/07/2014 11:43 AM, Peter Lawrey
wrote:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'
cite="mid:CAHzjr1bxGoum2f9TybHnR6T_jTj+2QTRmWPHnPkz_BjeVf9Ojg@mail.gmail.com"
type="cite">
<p dir="ltr">In the medium term I would see SHM supporting a
DataContainer. If a Cache were supported I would do it as a
layered class so those who don't need the functionality of a
Cache don't incur an overhead.</p>
<div class="gmail_quote">On 8 Mar 2014 03:35, "Ben Cotton" <<a href="/user/SendEmail.jtp?type=node&node=4028979&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>
wrote:<br type="attribution">
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font color="#000099">Thank you for this insight Mircea
...<br>
<br>
Ultimately ... I want the OpenHFT SHM off-heap operand
to behave *exactly* like a JCACHE ... Amenable to being
soundly/completely operated upon by any/all parts of
ISPN7's Impl of the JSR-107 API .</font></div>
<div><font color="#000099"><br>
</font></div>
<div><font color="#000099">Musing openly: Won't that
(eventually) necessitate me physically implementing
javax.cache.Cache ?<br>
<font color="#000000"><i><br>
</i><i>> </i></font></font><font color="#000099"><font
color="#000000"><i>Another way to do it is to have
CacheImpl implement the DataContainer only, and then
configure Infinispan's JCache implementation to use
that custom DataContainer. <br>
<br>
</i><font color="#000099">I see what you mean. OK,
for sure, this sounds much simpler than what I have
put on my initial TODO list.<br>
<br>
Question: Will doing it this way in any manner
suggest that my JSR-107 specific operators are
being transitively "brokered" by the ISPN config
onto my OpenHFT SHM operand? If possible, I want
everything to be direct -- no API bridge.<br>
<br>
Thanks again, Mircea.<br>
<br>
-Ben and Dmitry<br>
</font></font></font></div>
<div><br>
Sent from my iPhone</div>
<div>On 03/07/2014 09:45 AM, Mircea Markus-2 [via Infinispan
Developer List] wrote:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"> Hi Ben, <br>
<br>
In the diagram provided, the CacheImpl (your class)
extends both from javax.cache.Cache and
org.infinispan.container.DataContainer. <br>
The Cache and DataContainer interfaces are quite different
and I anticipate an single class implementing both to be
hard to follow and potentially not very efficient. <br>
Another way to do it is to have CacheImpl implement the
DataContainer only, and then configure Infinispan's JCache
implementation to use that custom DataContainer. <br>
<br>
On Mar 3, 2014, at 3:46 PM, cotton-ben <<a
moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=4028967&i=0" rel="nofollow" link="external" target="_blank">[hidden
email]</a>> wrote: <br>
<div><br>
> Quick Update: <br>
> <br>
> It is my understandng that Peter Lawrey will make
available an OpenHFT HC <br>
> Alpha Release in Maven Central next weekend. At
that time, Dmitry Gordeev <br>
> and I will take the OpenHFT dependency tag and
proceed to build a branch of <br>
> Red Hat's ISPN 7 that will treat
net.openhft.collections.SharedHashMap as a <br>
> Red Hat Infinispan 7 default impl of a fully
JSR-107 interoperable off-heap <br>
> javax.cache.Cache ... <br>
> <br>
> A diagram of this build effort can be found here: <br>
> <a moz-do-not-send="true"
href="https://raw.github.com/Cotton-Ben/OpenHFT/master/doc/AdaptingOpenHFT-SHM-as-JCACHE-Impl.jpg" rel="nofollow" link="external" target="_blank">https://raw.github.com/Cotton-Ben/OpenHFT/master/doc/AdaptingOpenHFT-SHM-as-JCACHE-Impl.jpg</a><br>
> ... <br>
> <br>
> The Red Hat view of his effort will be tracked
here: <br>
> <a moz-do-not-send="true"
href="https://issues.jboss.org/browse/ISPN-871" rel="nofollow" link="external" target="_blank">https://issues.jboss.org/browse/ISPN-871</a>
... <br>
> <br>
> The code that defines the Impl will be here <br>
> <a moz-do-not-send="true"
href="https://github.com/Cotton-Ben/infinispan" rel="nofollow" link="external" target="_blank">https://github.com/Cotton-Ben/infinispan</a> ...
<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> -- <br>
> View this message in context: <a
moz-do-not-send="true"
href="http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-tp4026102p4028931.html" rel="nofollow" link="external" target="_blank">http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-tp4026102p4028931.html</a><br>
> Sent from the Infinispan Developer List mailing
list archive at Nabble.com. <br>
> _______________________________________________ <br>
> infinispan-dev mailing list <br>
> <a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=4028967&i=1" rel="nofollow" link="external" target="_blank">[hidden
email]</a> <br>
> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></div>
<br>
Cheers, <br>
-- <br>
Mircea Markus <br>
Infinispan lead (<a moz-do-not-send="true"
href="http://www.infinispan.org" target="_blank" rel="nofollow" link="external">www.infinispan.org</a>)
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________ <br>
infinispan-dev mailing list <br>
<a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=4028967&i=2" rel="nofollow" link="external" target="_blank">[hidden
email]</a> <br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
<hr color="#cccccc" noshade="noshade" size="1">
<div style="color:#444;font:12px
tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this
email, your message will be added to the discussion
below:</div>
<a moz-do-not-send="true"
href="http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-tp4026102p4028967.html"
target="_blank" rel="nofollow" link="external">http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-tp4026102p4028967.html</a>
</div>
<div style="color:#666;font:11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To start a new topic under Infinispan Developer List,
email <a href="/user/SendEmail.jtp?type=node&node=4028979&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
To unsubscribe from [infinispan-dev] Infinispan embedded
off-heap cache, <a moz-do-not-send="true"
href=""
target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a moz-do-not-send="true"
href="http://infinispan-developer-list.980875.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-tp4026102p4028979.html">Re: [infinispan-dev] Infinispan embedded off-heap cache</a><br/>
Sent from the <a href="http://infinispan-developer-list.980875.n3.nabble.com/">Infinispan Developer List mailing list archive</a> at Nabble.com.<br/>