[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-182) Use Directory getLockID() to uniquely identify a directory provider
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Apr 21 13:54:33 EDT 2008
Use Directory getLockID() to uniquely identify a directory provider
-------------------------------------------------------------------
Key: HSEARCH-182
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-182
Project: Hibernate Search
Issue Type: Improvement
Components: directory provider
Reporter: Emmanuel Bernard
Priority: Minor
Fix For: 3.1.0
Today the DirectoryProvider needs to implement equals and hashCode so that the underlying Directory is unique.
We could delegate that to the directory.getLockID() which seem to fulfill the same contract.
Not sure it works well with our lazy initialization strategy though. This needs to be checked out.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list