Module: Azure::Storage::BlobConstants

Defined in:
lib/azure/storage/core/constants.rb

Overview

Defines constants for use with blob operations.

Defined Under Namespace

Modules: BlobTypes, LeaseOperation, ListBlobTypes, PageWriteOptions, ResourceTypes

Constant Summary collapse

LATEST_ELEMENT =

XML element for the latest.

'Latest'
UNCOMMITTED_ELEMENT =

XML element for uncommitted blocks.

'Uncommitted'
BLOCK_LIST_ELEMENT =

XML element for a block list.

'BlockList'
COMMITTED_ELEMENT =

XML element for committed blocks.

'Committed'
DEFAULT_WRITE_PAGE_SIZE_IN_BYTES =

The default write page size, in bytes, used by blob streams.

4 * 1024 * 1024
MIN_WRITE_PAGE_SIZE_IN_BYTES =

The minimum write page size, in bytes, used by blob streams.

2 * 1024 * 1024
DEFAULT_SINGLE_BLOB_PUT_THRESHOLD_IN_BYTES =

The default maximum size, in bytes, of a blob before it must be separated into blocks.

32 * 1024 * 1024
DEFAULT_WRITE_BLOCK_SIZE_IN_BYTES =

The default write block size, in bytes, used by blob streams.

4 * 1024 * 1024
MAX_BLOCK_SIZE =

The maximum size of a single block.

4 * 1024 * 1024
MAX_SINGLE_UPLOAD_BLOB_SIZE_IN_BYTES =

The maximum size, in bytes, of a blob before it must be separated into blocks.

64 * 1024 * 1024
MAX_RANGE_GET_SIZE_WITH_MD5 =

The maximum range get size when requesting for a contentMD5

4 * 1024 * 1024
MAX_UPDATE_PAGE_SIZE =

The maximum page range size for a page update operation.

4 * 1024 * 1024
MAX_QUEUED_WRITE_DISK_BUFFER_SIZE =

The maximum buffer size for writing a stream buffer.

64 * 1024 * 1024
MAX_SINGLE_GET_PAGE_RANGE_SIZE =
37 * 4 * 1024 * 1024
PAGE_SIZE =

The size of a page, in bytes, in a page blob.

512