[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4521?page=c...
]
Galder Zamarreno commented on HHH-4521:
---------------------------------------
(05:52:05 PM) brian_stansberry: we don't actually need to store the xyz long term; we
are just using it as a message payload for the listener
(05:52:22 PM) galderz: good point!
(05:52:29 PM) galderz: assuming xyz is the key, correct?
(05:52:33 PM) brian_stansberry: right
(05:52:52 PM) brian_stansberry: you just need a special xyz to indicate "whole
region"
(05:53:16 PM) galderz: let me send u a patch
(05:53:28 PM) galderz: cos I implemented evict(key) and evictAll()
(05:53:32 PM) galderz: before I asked you that
(05:53:40 PM) galderz: in there
(05:54:00 PM) galderz: I combined: Address and Key into a Key that I put in the map
(05:54:23 PM) galderz: for evictAll, Key was a enum Singleton called NoKey.INSTANCE
(05:54:56 PM) galderz: so, i'll change that so that key is only Address
(org.infinispan.remoting.transport.Address)
(05:55:08 PM) galderz: and the value is either null for evictAll or key for evict(key)
(05:55:22 PM) galderz: and when consuming it, we remove the entry from the cache,
don't we?
(05:55:42 PM) galderz: no we don't
(05:55:48 PM) galderz: it's simply overriden by next put
(05:55:52 PM) galderz: next invalidation put
(05:57:47 PM) brian_stansberry: yep
(05:58:02 PM) brian_stansberry: only one node writes to a given key: the one whose address
it is
(05:58:15 PM) galderz: indeed!
Hibernate/Infinispan integration doesn't property handle
Entity/CollectionRegionAccessStrategy evict(Object)
------------------------------------------------------------------------------------------------------------
Key: HHH-4521
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4521
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 3.5
Port HHH-4517 to Infinispan second level cache integration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira