public AzureStorageIndexInput(AzureStorageDirectory directory, string name) : base($"AzureStorageIndexInput(name={Path.Combine(directory.IndexFolder, name)})") { _pageBlobClient = directory.BlobContainerClient.GetPageBlobClient(name); _pageBlobClient.CreateIfNotExists(0); _blobLength = GetBlobLength(); }
public AzureStorageLockFactory(AzureStorageDirectory directory) { _directory = directory; _locks = new Dictionary <string, Lock>(); }
public AzureStorageIndexOutput(AzureStorageDirectory directory, string name) { _pageBlobClient = directory.BlobContainerClient.GetPageBlobClient(name); _pageBlobClient.CreateIfNotExists(0); }
public AzureStorageLock(AzureStorageDirectory directory, string lockName) { _lockName = lockName; _directory = directory; }