public abstract static class ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy implements Serializable
A naming strategy which will be used to generate a name for a part or intermediary compose object. See Also: #withPartNamingStrategy(PartNamingStrategy)
Implements
SerializableStatic Methods
noPrefix()
public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy noPrefix()
Default strategy in which no stable prefix is defined.
General format is
{randomKeyDigest};{objectInfoDigest};{partIndex}.part
{objectInfoDigest}
will be fixed for an individual BlobWriteSession.
NOTE:The way in which both randomKeyDigest
and
objectInfoDigest
are generated is undefined and subject to change at any time.
See Also: #withPartNamingStrategy(PartNamingStrategy)
Returns | |
---|---|
Type | Description |
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy |
prefix(String prefixPattern)
public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy prefix(String prefixPattern)
Strategy in which an explicit stable prefix is present on each part and intermediary compose object.
General format is
{prefixPattern}/{randomKeyDigest};{objectInfoDigest};{partIndex}.part
{objectInfoDigest}
will be fixed for an individual BlobWriteSession.
NOTE:The way in which both randomKeyDigest
and
objectInfoDigest
are generated is undefined and subject to change at any time.
Care must be taken when choosing to specify a stable prefix as this can create hotspots in the keyspace for object names. See Object Naming Convention Guidelines for more details. See Also: #withPartNamingStrategy(PartNamingStrategy)
Parameter | |
---|---|
Name | Description |
prefixPattern |
String |
Returns | |
---|---|
Type | Description |
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy |
Methods
fmtFields(String randomKey, String nameDigest, String partRange)
protected abstract String fmtFields(String randomKey, String nameDigest, String partRange)
Parameters | |
---|---|
Name | Description |
randomKey |
String |
nameDigest |
String |
partRange |
String |
Returns | |
---|---|
Type | Description |
String |