public RIFAppendOnlyStorage(IStreamHandler streamHandler, IScalabilityObjectCreator appObjectCreator, IReferenceCreator appReferenceCreator, GlobalIDOwnerCollection globalIdsFromOtherStream, bool fromExistingStream, int rifCompatVersion, bool prohibitSerializableValues) { this.m_streamCreator = streamHandler; this.m_scalabilityCache = null; this.m_stream = null; this.m_unifiedObjectCreator = new UnifiedObjectCreator(appObjectCreator, appReferenceCreator); this.m_referenceCreator = new UnifiedReferenceCreator(appReferenceCreator); this.m_fromExistingStream = fromExistingStream; this.m_globalIdsFromOtherStream = globalIdsFromOtherStream; this.m_prohibitSerializableValues = prohibitSerializableValues; this.m_rifCompatVersion = rifCompatVersion; }
public RIFStorage(IStreamHandler streamHandler, int bufferPageSize, int bufferPageCount, int tempStreamSize, ISpaceManager spaceManager, IScalabilityObjectCreator appObjectCreator, IReferenceCreator appReferenceCreator, GlobalIDOwnerCollection globalIdsFromOtherStream, bool fromExistingStream, int rifCompatVersion) { this.m_streamCreator = streamHandler; this.m_scalabilityCache = null; this.m_bufferPageSize = bufferPageSize; this.m_bufferPageCount = bufferPageCount; this.m_tempStreamSize = tempStreamSize; this.m_stream = null; this.m_spaceManager = spaceManager; this.m_unifiedObjectCreator = new UnifiedObjectCreator(appObjectCreator, appReferenceCreator); this.m_referenceCreator = new UnifiedReferenceCreator(appReferenceCreator); this.m_fromExistingStream = fromExistingStream; this.m_globalIdsFromOtherStream = globalIdsFromOtherStream; this.m_rifCompatVersion = rifCompatVersion; }