public abstract class AsyncWriteChannelOptions
extends java.lang.Object
AbstractGoogleAsyncWriteChannel
.Modifier and Type | Class and Description |
---|---|
static class |
AsyncWriteChannelOptions.Builder
Mutable builder for the GoogleCloudStorageWriteChannelOptions class.
|
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE_DEFAULT
Default upload buffer size.
|
static boolean |
DIRECT_UPLOAD_ENABLED_DEFAULT
Default of whether to use direct upload.
|
static boolean |
LIMIT_FILESIZE_TO_250GB_DEFAULT
Deprecated.
|
static int |
PIPE_BUFFER_SIZE_DEFAULT
Default pipe buffer size.
|
static int |
UPLOAD_BUFFER_SIZE_DEFAULT
Deprecated.
|
static int |
UPLOAD_CHUNK_SIZE_DEFAULT
Default upload chunk size.
|
Constructor and Description |
---|
AsyncWriteChannelOptions() |
Modifier and Type | Method and Description |
---|---|
static AsyncWriteChannelOptions.Builder |
builder() |
abstract int |
getBufferSize() |
abstract int |
getPipeBufferSize() |
int |
getUploadBufferSize()
Deprecated.
|
abstract int |
getUploadChunkSize() |
abstract boolean |
isDirectUploadEnabled() |
abstract boolean |
isFileSizeLimitedTo250Gb()
Deprecated.
fileSizeLimitedTo250Gb now defaults to false. It is deprecated and will
soon be removed. Files greater than 250Gb are allowed by default. |
static AsyncWriteChannelOptions.Builder |
newBuilder()
Deprecated.
use
builder() |
@Deprecated public static final boolean LIMIT_FILESIZE_TO_250GB_DEFAULT
public static final int BUFFER_SIZE_DEFAULT
public static final int PIPE_BUFFER_SIZE_DEFAULT
public static final int UPLOAD_CHUNK_SIZE_DEFAULT
@Deprecated public static final int UPLOAD_BUFFER_SIZE_DEFAULT
public static final boolean DIRECT_UPLOAD_ENABLED_DEFAULT
@Deprecated public static AsyncWriteChannelOptions.Builder newBuilder()
builder()
public static AsyncWriteChannelOptions.Builder builder()
@Deprecated public abstract boolean isFileSizeLimitedTo250Gb()
fileSizeLimitedTo250Gb
now defaults to false. It is deprecated and will
soon be removed. Files greater than 250Gb are allowed by default.public abstract int getBufferSize()
public abstract int getPipeBufferSize()
@Deprecated public int getUploadBufferSize()
public abstract int getUploadChunkSize()
public abstract boolean isDirectUploadEnabled()
Copyright © 2018. All rights reserved.