All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
BucketHealthResult |
checkBucketHealth() |
static com.amazonaws.services.s3.AmazonS3 |
client(S3TierObjectStoreConfig config) |
void |
close() |
void |
deleteSegment(TierObjectStore.ObjectMetadata objectMetadata) |
void |
deleteVersions(List<TierObjectStore.KeyAndVersion> keys) |
TierObjectStore.Backend |
getBackend() |
TierObjectStoreResponse |
getObject(TierObjectStore.ObjectStoreMetadata objectMetadata,
TierObjectStore.FileType fileType,
Integer byteOffsetStart,
Integer byteOffsetEnd) |
Map<String,List<VersionInformation>> |
listObject(String keyPrefix,
boolean getVersionInfo) |
TierObjectAttribute |
objectExists(TierObjectStore.ObjectMetadata objectMetadata,
TierObjectStore.FileType fileType) |
TierObjectStore.OpaqueData |
prepPutSegment() |
void |
putBuf(String key,
Map<String,String> userMetadata,
ByteBuffer buf) |
void |
putInMemorySegment(TierObjectStore.ObjectMetadata objectMetadata,
File segmentData,
File offsetIndexData,
File timestampIndexData,
Optional<ByteBuffer> producerStateSnapshotData,
Optional<ByteBuffer> transactionIndexData,
Optional<ByteBuffer> epochState) |
void |
putObject(TierObjectStore.ObjectStoreMetadata objectMetadata,
File file,
TierObjectStore.FileType fileType) |
void |
putSegment(TierObjectStore.ObjectMetadata objectMetadata,
File segmentData,
File offsetIndexData,
File timestampIndexData,
Optional<File> producerStateSnapshotData,
Optional<ByteBuffer> transactionIndexData,
Optional<ByteBuffer> epochState) |
void |
restoreObjectByCopy(TierObjectStore.ObjectMetadata objectMetadata,
String key,
VersionInformation lastLiveVersion)
There are usually 2 ways to restore a deleted object:
- to remove the deleteMarker of the object to expose its last live version again as current version.
|
static String |
validateAndGetS3RegionName(String s3Region) |