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