public FileRepository(ISession session, Config config, IGlobalTimestampProvider timestampProvider) { this.timestampProvider = timestampProvider; filesTableEvent = new Table <CQLFile>(session); dataBufferSize = config.DefaultDataBufferSize !.Value; blobStorage = new CqlLargeBlobStorage <CQLFileContentMeta, CQLFileContent>(session, dataBufferSize); TTL = config.DefaultTTL !.Value; }
public DirectoryRepository(ISession session, IGlobalTimestampProvider timestampProvider) { this.timestampProvider = timestampProvider; directoriesTableEvent = new Table <CQLDirectory>(session); }