First cut of Hazelcast cache initialisation

need to set filesystem.cluster.enabled=true
                      filesystem.cluster.config=c:\\temp\\hazelcastConfig.xml
ALF-9966 - Locking wrong with OpLockManager and LockManager ContentDiskDriver error.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-08-19 13:21:53 +00:00
parent 5084d3612f
commit 021a93f5c3
20 changed files with 525 additions and 214 deletions

View File

@@ -620,7 +620,7 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
// Register the device context
registerContext(context, null);
registerContext(context);
// Return the context for this shared filesystem
@@ -641,9 +641,9 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
*/
// MER TODO - transaction handling in registerContext needs changing
@Override
public void registerContext(DeviceContext ctx, ServerConfigurationBean serverConfig) throws DeviceContextException
public void registerContext(DeviceContext ctx) throws DeviceContextException
{
super.registerContext(ctx, serverConfig);
super.registerContext(ctx);
ContentContext context = (ContentContext)ctx;
@@ -777,9 +777,9 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
logger.info("Locked files will be marked as offline");
}
// Enable file state caching
context.enableStateCache(serverConfig, true);
// // Enable file state caching
//
// context.enableStateCache(serverConfig, true);
// Install the node service monitor