You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2013/03/02 16:39:13 UTC
[jira] [Assigned] (ONAMI-94) Refactor locking in
ConcurrentLazySingletonScopeImpl
[ https://issues.apache.org/jira/browse/ONAMI-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jordan Zimmerman reassigned ONAMI-94:
-------------------------------------
Assignee: Jordan Zimmerman
> Refactor locking in ConcurrentLazySingletonScopeImpl
> ----------------------------------------------------
>
> Key: ONAMI-94
> URL: https://issues.apache.org/jira/browse/ONAMI-94
> Project: Apache Onami
> Issue Type: Improvement
> Components: scopes
> Affects Versions: scopes-1.0.0
> Reporter: Mikhail Mazursky
> Assignee: Jordan Zimmerman
> Priority: Minor
>
> - getLock() should be called just before "try", not inside the block - this will also allow to remove null check from releaseLock();
> - LockRecord instances may be used as lock objects - no need to create separate objects for that because LockRecord instances are not exposed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira