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 int |
PIPE_BUFFER_SIZE_DEFAULT
Default pipe buffer size.
|
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() |
abstract int |
getUploadChunkSize() |
abstract boolean |
isDirectUploadEnabled() |
static AsyncWriteChannelOptions.Builder |
newBuilder()
Deprecated.
use
builder() |
public static final int BUFFER_SIZE_DEFAULT
public static final int PIPE_BUFFER_SIZE_DEFAULT
public static final int UPLOAD_CHUNK_SIZE_DEFAULT
public static final boolean DIRECT_UPLOAD_ENABLED_DEFAULT
@Deprecated public static AsyncWriteChannelOptions.Builder newBuilder()
builder()
public static AsyncWriteChannelOptions.Builder builder()
public abstract int getBufferSize()
public abstract int getPipeBufferSize()
public abstract int getUploadChunkSize()
public abstract boolean isDirectUploadEnabled()
Copyright © 2019. All rights reserved.