Checkpoint of file state refactoring.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-11-22 11:11:54 +00:00
parent e5babd2675
commit 2e2dbf62f1
18 changed files with 694 additions and 171 deletions

View File

@@ -249,12 +249,9 @@ public class AVMShareMapper implements ShareMapper {
// Create a dynamic share mapped to the AVM store/version
DiskDeviceContext avmCtx = new AVMContext( storePath, storeVersion);
AVMContext avmCtx = new AVMContext( name, storePath, storeVersion);
avmCtx.enableStateTable( true, avmDrv.getStateReaper());
// Default the filesystem to look like an 80Gb sized disk with 90% free space
avmCtx.setDiskInformation(new SrvDiskInfo(2560, 64, 512, 2304));
// Create a dynamic shared device for the store version
DiskSharedDevice diskShare = new DiskSharedDevice( name, avmDrv, avmCtx, SharedDevice.Temporary);