mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -419,7 +419,7 @@ public class AVMDiskDriver extends AlfrescoTxDiskDriver implements DiskInterface
|
||||
}
|
||||
|
||||
// Register the context bean
|
||||
registerContext(context, null);
|
||||
registerContext(context);
|
||||
|
||||
// Return the context for this shared filesystem
|
||||
return context;
|
||||
@@ -434,10 +434,10 @@ public class AVMDiskDriver extends AlfrescoTxDiskDriver implements DiskInterface
|
||||
* @exception DeviceContextException
|
||||
*/
|
||||
@Override
|
||||
public void registerContext(DeviceContext ctx, ServerConfigurationBean serverConfig)
|
||||
public void registerContext(DeviceContext ctx)
|
||||
throws DeviceContextException
|
||||
{
|
||||
super.registerContext(ctx, serverConfig);
|
||||
super.registerContext(ctx);
|
||||
|
||||
AVMContext context = (AVMContext)ctx;
|
||||
// Use the system user as the authenticated context for the filesystem initialization
|
||||
@@ -464,7 +464,7 @@ public class AVMDiskDriver extends AlfrescoTxDiskDriver implements DiskInterface
|
||||
{
|
||||
// Enable file state caching
|
||||
|
||||
context.enableStateCache(serverConfig, true);
|
||||
// context.enableStateCache(serverConfig, true);
|
||||
|
||||
// Plug the virtualization view context into the various store/version call back listeners
|
||||
// so that store/version pseudo folders can be kept in sync with AVM
|
||||
@@ -596,7 +596,7 @@ public class AVMDiskDriver extends AlfrescoTxDiskDriver implements DiskInterface
|
||||
|
||||
// Enable file state caching
|
||||
|
||||
context.enableStateCache(serverConfig, true);
|
||||
// context.enableStateCache(serverConfig, true);
|
||||
}
|
||||
|
||||
// Commit the transaction
|
||||
|
Reference in New Issue
Block a user