Package | Description |
---|---|
com.google.cloud.storage.contrib.nio |
Java 7 nio FileSystem client library for Google Cloud Storage.
|
Modifier and Type | Field and Description |
---|---|
static CloudStorageConfiguration |
CloudStorageConfiguration.DEFAULT |
Modifier and Type | Method and Description |
---|---|
CloudStorageConfiguration |
CloudStorageConfiguration.Builder.build()
Creates new instance without destroying builder.
|
CloudStorageConfiguration |
CloudStorageFileSystem.config()
Returns configuration object for this file system instance.
|
Modifier and Type | Method and Description |
---|---|
static CloudStorageFileSystem |
CloudStorageFileSystem.forBucket(String bucket,
CloudStorageConfiguration config)
Creates new file system instance for
bucket , with customizable settings. |
static CloudStorageFileSystem |
CloudStorageFileSystem.forBucket(String bucket,
CloudStorageConfiguration config,
StorageOptions storageOptions)
Returns Google Cloud Storage
FileSystem object for bucket . |
static void |
CloudStorageFileSystemProvider.setDefaultCloudStorageConfiguration(CloudStorageConfiguration newDefault)
Changes the default configuration for every filesystem object created from here on, including
via SPI.
|
Constructor and Description |
---|
CloudStorageRetryHandler(CloudStorageConfiguration config)
Create a CloudStorageRetryHandler with the maximum retries and reopens set to the same value.
|
CloudStorageRetryHandler(int maxRetries,
int maxReopens,
CloudStorageConfiguration config)
Create a CloudStorageRetryHandler with the maximum retries and reopens set to different values.
|
Copyright © 2019 Google LLC. All rights reserved.