[jboss-jira] [JBoss JIRA] (JGRP-1825) ReadWriteLock

Bela Ban (JIRA) issues at jboss.org
Tue Nov 3 08:26:00 EST 2015


    [ https://issues.jboss.org/browse/JGRP-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124778#comment-13124778 ] 

Bela Ban commented on JGRP-1825:
--------------------------------

What exactly do you want to achieve? Can't you implement the locking/isolation semantics with cache-local locks and using JGroups only as message transport?
I'm not entirely happy with the current {{LockService}}, as it doesn't handle partitions well. The {{j.u.c.l.Lock}} interface isn't amenable to takeing locks away from members, so I'm thinking about designing a new partitionable lock service. Not at the top of my todo list though...
Since I'm not happy with the current lock impl, I don't want to add something atm.

> ReadWriteLock
> -------------
>
>                 Key: JGRP-1825
>                 URL: https://issues.jboss.org/browse/JGRP-1825
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6
>
>         Attachments: JgroupTest.zip
>
>
> Adds a read/write lock to LockService. The impl is attached



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list