-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make some final changes to the GCS NIO API
This change prepares GCS NIO to be merged into master, by making some last minute API changes. - Documentation has been added to many methods to clarify the preferred method for instantiating the library, which is the non-SPI version. - Unit tests have been updated to not rely on the SPI, because there's no way to guarantee clean isolation of SPI usage across tests. We'll be relying on integration testing to test the SPI interface. - The unit testing methodology has changed somewhat. FakeStorageRpc should be a private final field on the test class so, if desired, we'll be able to have the tests dip directly into fake memory. - IOException has been added back to the throws of file system close, in case we decide to implement the "close all owned channels" thing into that method in the future. - The getters on the configuration class have been made package-private, since there's no foreseeable reason they would be needed by the user. In a future change, a README.md file will be added to replace the documentation in the package-info.java file.
- Loading branch information
Showing
15 changed files
with
931 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.