public interface TierObjectStore
Modifier and Type | Interface and Description |
---|---|
static class |
TierObjectStore.Backend |
static class |
TierObjectStore.BackupObjectsListMetadata
Metadata for the list of the backed up objects.
|
static class |
TierObjectStore.DataTypePathPrefix |
static class |
TierObjectStore.FileType |
static class |
TierObjectStore.KeyAndVersion |
static class |
TierObjectStore.LifecycleManagerStateMetadata
Metadata for the state of the backed up object Lifecycle Manager.
|
static class |
TierObjectStore.ObjectMetadata |
static interface |
TierObjectStore.ObjectStoreMetadata |
static class |
TierObjectStore.OpaqueData |
static class |
TierObjectStore.TierStateRestoreSnapshotMetadata |
TierObjectStore.Backend getBackend()
Map<String,List<VersionInformation>> listObject(String keyPrefix, boolean getVersionInfo)
TierObjectStoreResponse getObject(TierObjectStore.ObjectStoreMetadata objectMetadata, TierObjectStore.FileType fileType, Integer byteOffsetStart, Integer byteOffsetEnd) throws IOException
IOException
default TierObjectStoreResponse getObject(TierObjectStore.ObjectStoreMetadata objectMetadata, TierObjectStore.FileType fileType, Integer byteOffsetStart) throws IOException
IOException
default TierObjectStoreResponse getObject(TierObjectStore.ObjectStoreMetadata objectMetadata, TierObjectStore.FileType fileType) throws IOException
IOException
TierObjectStore.OpaqueData prepPutSegment() throws TierObjectStoreRetriableException, IOException
void putObject(TierObjectStore.ObjectStoreMetadata objectMetadata, File file, TierObjectStore.FileType type) throws TierObjectStoreRetriableException, IOException
void restoreObjectByCopy(String key, VersionInformation lastLiveVersion)
void putSegment(TierObjectStore.ObjectMetadata objectMetadata, File segmentData, File offsetIndexData, File timestampIndexData, Optional<File> producerStateSnapshotData, Optional<ByteBuffer> transactionIndexData, Optional<ByteBuffer> epochState) throws TierObjectStoreRetriableException, IOException
void putInMemorySegment(TierObjectStore.ObjectMetadata objectMetadata, File segmentData, File offsetIndexData, File timestampIndexData, Optional<ByteBuffer> producerStateSnapshotData, Optional<ByteBuffer> transactionIndexData, Optional<ByteBuffer> epochState) throws TierObjectStoreRetriableException, IOException
void putBuf(String key, Map<String,String> metadata, ByteBuffer buf) throws IOException
IOException
void deleteSegment(TierObjectStore.ObjectMetadata objectMetadata) throws IOException
IOException
void deleteVersions(List<TierObjectStore.KeyAndVersion> keys)
boolean objectExists(TierObjectStore.ObjectMetadata objectMetadata, TierObjectStore.FileType type) throws IOException
IOException
void close()