org.soyatec.windowsazure.constants
Class BlobBlockConstants
java.lang.Object
org.soyatec.windowsazure.constants.BlobBlockConstants
public final class BlobBlockConstants
- extends java.lang.Object
The class contains the constants of blob block.
|
Field Summary |
static long |
BlockSize
The size of a single block when transmitting a blob that is larger than the
MaximumBlobSizeBeforeTransmittingAsBlocks constant (see above). |
static boolean |
GenerateBlockMD5
Generate content md5 for each block when uploading large blob. |
static int |
KB
|
static long |
MaximumBlobSizeBeforeTransmittingAsBlocks
When transmitting a blob that is larger than this constant, this library automatically
transmits the blob as individual blocks. |
static int |
MB
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KB
public static final int KB
- See Also:
- Constant Field Values
MB
public static final int MB
- See Also:
- Constant Field Values
MaximumBlobSizeBeforeTransmittingAsBlocks
public static long MaximumBlobSizeBeforeTransmittingAsBlocks
- When transmitting a blob that is larger than this constant, this library automatically
transmits the blob as individual blocks. I.e., the blob is (1) partitioned
into separate parts (these parts are called blocks) and then (2) each of the blocks is
transmitted separately.
The maximum size of this constant as supported by the real blob storage service is currently
64 MB; the development storage tool currently restricts this value to 2 MB.
Setting this constant can have a significant impact on the performance for uploading or
downloading blobs.
As a general guideline: If you run in a reliable environment increase this constant to reduce
the amount of roundtrips. In an unreliable environment keep this constant low to reduce the
amount of data that needs to be retransmitted in case of connection failures.
BlockSize
public static long BlockSize
- The size of a single block when transmitting a blob that is larger than the
MaximumBlobSizeBeforeTransmittingAsBlocks constant (see above).
The maximum size of this constant is currently 4 MB; the development storage
tool currently restricts this value to 1 MB.
Setting this constant can have a significant impact on the performance for uploading or
downloading blobs.
As a general guideline: If you run in a reliable environment increase this constant to reduce
the amount of roundtrips. In an unreliable environment keep this constant low to reduce the
amount of data that needs to be retransmitted in case of connection failures.
GenerateBlockMD5
public static boolean GenerateBlockMD5
- Generate content md5 for each block when uploading large blob.
BlobBlockConstants
public BlobBlockConstants()