17 Commits

Author SHA1 Message Date
Britt Park
c6dfeb1c9d Added pessimistic locking in several places to shut down deadlocks.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 16:43:35 +00:00
Britt Park
ff4fe08d04 Added getRepository() and getRepositories() to AVMService, removed getRepositoryNames()
from same.  These new methods return a RepositoryDescriptor and a List of 
RepositoryDescriptors.  Note, Hibernate mapping has changed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-22 21:19:07 +00:00
Britt Park
1318a5204b Changed copy on write to occur during lookup, rather than after lookup.
Much carnage, but it's way faster.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-21 13:07:42 +00:00
Britt Park
8cb3db78e3 Got rid of warning from ehcache. Wrote equals and hashCode for MergeLinkImpl
and HistoryLinkImpl (oops).  GetDirectoryListing now returns
Map<String, AVMNodeDescriptor>.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3156 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 00:56:36 +00:00
Britt Park
8614d80962 Purged some useless passing of SuperRepositories as parameters.
Yet another concurrency test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 23:59:19 +00:00
Britt Park
8800461d79 Changed the way we acquire pessimistic locks. Modestly faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 23:19:27 +00:00
Britt Park
c892c5a4b5 Added accessors for node history. Added those to console.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 15:32:45 +00:00
Britt Park
9c17cfa1e0 Purge tests cover more now. Moved purging queries into mapping file.
Added call to AVMService to get Versions
by creation date.  GetRepositoryVersions methods now return Lists of 
VersionDescriptors, value objects with the attributes of a version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 18:48:44 +00:00
Britt Park
a215fb72b6 Repository and version purging are working. Also deleting a bunch of left over
junk I didn't get after the merge.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 02:37:52 +00:00
Britt Park
936f6d7021 This checks in the current state of WCM development.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 16:59:15 +00:00
Britt Park
d800048a10 A handful of more involved tests. Surprisingly few things needed fixing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 22:47:15 +00:00
Britt Park
df28c98983 Retyped a counter so had to muck with many beans. Forced creation of layered directories
to work.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-21 21:59:41 +00:00
Britt Park
1b4c08d1d4 More cleanup, fixing, and general futzing. A checkpoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 18:18:46 +00:00
Britt Park
8818e8daba Merged all the AVM mapping files into one medium file. I find it easier to follow.
Purged the pointless FileContentFactory class.  If everything else were working file reading
and writing would now work.  Various other cleanups and some richer internal documentation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 22:55:37 +00:00
Britt Park
0241371dd6 This brings the AVM implementation to the 'it compiles so it should work"
state.  It's hooked up to nothing right now.  First will be a basic test harness 
for it, then...


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 17:51:37 +00:00
Britt Park
f19fa92b31 Another checkpoint, mostly to stay caught up with merges.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 20:32:15 +00:00
Britt Park
8433c03ed0 Having managed to get WCM-DEV royally screwed up, I made a new branch,
WCM-DEV2 and added back my changes.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-09 23:22:15 +00:00