Support for distributed locking
-------------------------------
Key: JBCLUSTER-223
URL:
https://jira.jboss.org/jira/browse/JBCLUSTER-223
Project: JBoss Clustering
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: HA-Server-API
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: HA-Server-API 1.2.0.GA
Useful for clustered DeploymentRepository and for ensuring only one node accesses a web
session or SFSB at a time.
This will be different from the JGroups DistributedLockManager is two main respects:
1) Built on HAPartition instead of RpcDispatcher. This is actually a negative, but I want
this to be able to use the same channel the AS's HAPartition uses. Perhaps I'll
develop a separate API and an adapter implementation that directly uses RpcDispatcher to
provide flexibility going forward.
2) Acquiring a lock requires a callout to a pluggable LocalLockHandler. This is to support
more sophisticated interaction with the service using the lock manager.
I probably won't use the two-phase approach the JGroups DistributedLockManager adopts
either.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira