public class AsyncWriteChannelOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AsyncWriteChannelOptions.Builder
Mutable builder for the GoogleCloudStorageWriteChannelOptions class.
|
Modifier and Type | Field and Description |
---|---|
static boolean |
DIRECT_UPLOAD_ENABLED_DEFAULT
Default of whether to use direct upload.
|
static boolean |
LIMIT_FILESIZE_TO_250GB_DEFAULT
Default of whether to limit files to 250GB by default.
|
static int |
UPLOAD_BUFFER_SIZE_DEFAULT
Default upload buffer size.
|
Constructor and Description |
---|
AsyncWriteChannelOptions(boolean fileSizeLimitedTo250Gb,
int uploadBufferSize,
boolean useDirectUpload) |
Modifier and Type | Method and Description |
---|---|
int |
getUploadBufferSize() |
boolean |
isDirectUploadEnabled() |
boolean |
isFileSizeLimitedTo250Gb()
Deprecated.
|
static AsyncWriteChannelOptions.Builder |
newBuilder()
Create a new builder with default values.
|
public static final boolean LIMIT_FILESIZE_TO_250GB_DEFAULT
public static final int UPLOAD_BUFFER_SIZE_DEFAULT
public static final boolean DIRECT_UPLOAD_ENABLED_DEFAULT
public AsyncWriteChannelOptions(boolean fileSizeLimitedTo250Gb, int uploadBufferSize, boolean useDirectUpload)
public static AsyncWriteChannelOptions.Builder newBuilder()
@Deprecated public boolean isFileSizeLimitedTo250Gb()
public int getUploadBufferSize()
public boolean isDirectUploadEnabled()
Copyright © 2017. All rights reserved.