From eecbd868ded215daefcbfe0e37edb54af0938b6f Mon Sep 17 00:00:00 2001 From: Rick Ley Date: Mon, 13 Jul 2020 15:05:36 -0700 Subject: [PATCH 1/5] Updated lots of docs --- sdk/storage/azure-storage-blob-nio/README.md | 6 +- .../blob/nio/AzureBasicFileAttributeView.java | 19 +- .../blob/nio/AzureBasicFileAttributes.java | 42 +++- .../blob/nio/AzureBlobFileAttributeView.java | 14 +- .../blob/nio/AzureBlobFileAttributes.java | 109 ++++++--- .../blob/nio/AzureDirectoryStream.java | 2 +- .../storage/blob/nio/AzureFileStore.java | 54 +++-- .../storage/blob/nio/AzureFileSystem.java | 98 ++++++-- .../blob/nio/AzureFileSystemProvider.java | 222 ++++++++++++++---- .../storage/blob/nio/LoggingUtility.java | 2 +- .../storage/blob/nio/NioBlobInputStream.java | 2 +- .../storage/blob/nio/NioBlobOutputStream.java | 2 +- .../azure/storage/blob/nio/ReadmeSamples.java | 3 +- .../storage/blob/nio/AttributeViewTest.groovy | 2 - 14 files changed, 418 insertions(+), 159 deletions(-) diff --git a/sdk/storage/azure-storage-blob-nio/README.md b/sdk/storage/azure-storage-blob-nio/README.md index bf9c0f7fb96e..7b5513b7d935 100644 --- a/sdk/storage/azure-storage-blob-nio/README.md +++ b/sdk/storage/azure-storage-blob-nio/README.md @@ -116,7 +116,7 @@ fallback and retry options available. The view of the FileSystem from within an instance of the JVM will be consistent, but the AzureFileSystem makes no guarantees on behavior or state should other processes operate on the same data. The AzureFileSystem will assume that it has exclusive access to the resources stored in Azure Blob Storage and will behave without regard for potential -interfering applications +interfering applications. Finally, this implementation has currently chosen to always read/write directly to/from Azure Storage without a local cache. Our team has determined that with the tradeoffs of complexity, correctness, safety, performance, debuggability, @@ -149,8 +149,9 @@ Please see the docs for `AzureFileSystemProvider` for a full explanation of init ```java Map config = new HashMap<>(); +String[] stores = {""); -config.put(AzureFileSystem.AZURE_STORAGE_FILE_STORES, ""); +config.put(AzureFileSystem.AZURE_STORAGE_FILE_STORES, stores); FileSystem myFs = FileSystems.newFileSystem(new URI("azb://?account=