Thanks for reply.
I noticed tummy sample, was just hoping more for guided steps (i.e. this has to be packaged here, this has to be in manifest and etc.) I of course can go through source and figure that by myself, but was just idea of having a short readme on how to bundle it, compile etc...
On the second topic, I am aware of EHCache. However EHC is key/map store, furthermore in any sensible behavior (i.e. transaction based or OSGi) will require serialized mode, which turns off the identity, and hence terracotta by my knowledge will dispatch event when identity based object is changed in cluster, I just thought it is unnecessary overlay to notify change in other listener/publisher pattern, and would be much easier to hook in tc core events.
Thanks for the link anyhow, I hope i will dig it out...
P. On Aug 13, 2010, at 9:04 PM, Tim Eck wrote: I think a crude example of what you're after is here: https://svn.terracotta.org/repo/forge/projects/terracotta-toolkit-framework-sample/trunk I haven't studied it too much, but I think it is meant to show how one can instrument your own types along with the toolkit. It is worth noting that we haven't spent any effort on trying to make this use case easy or friendly. Toolkit usage is geared towards serializable objects for the happy path. I'm not sure I quite get what you're asking for in the second question. The instrumentation we do to classes to make them "clusterable" isn't geared towards providing the change events to anything other than terracotta runtime. There isn't a way to just add in arbitrary listeners. That kind of pattern is available (albeit at a much higher level) in ehcache. -tim -----Original Message-----
From: tc-dev-boun...@lists.terracotta.org [mailto:tc-dev-
boun...@lists.terracotta.org] On Behalf Of Pavel Chlupácek
Sent: Friday, August 13, 2010 2:04 AM
To: tc-dev@lists.terracotta.org
Subject: [tc-dev] Insrumentation with tim-toolkit
Hi,
can anybody please help me/point me to place where instrumentation
example for custom classes for TC toolkit (express mode) is documented?
I saw a posts about the ways how to do it in "dev-freindly" way, but I
would be keen to have anything which just work atm.
Also is there a possibility if class gets instrumented to hook to code
which updates class on cluster change (I mean local instance of class)
to eventually run custom serialization invalidation locally?
Thanks a lot
Pavel.
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev
_______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev
přeji hezký den,
Pavel Chlupáček
—————————————————————————————— Unient Communications, a.s. Šafránkova 1243/3 155 00 Praha 5 Czech Republic tel: +420 257 895 444 —————————————————————————————— 
nový rozměr komunikace
Call centrum, nahrávání hovorů, automatická spojovatelka, barevné linky, zlatá čísla … a více dalších funkcí - vše bez nákladného pořizování a údržby telefonní ústředny
|