public class TierObjectStoreMetricsEnabled extends Object implements TierObjectStore
TierObjectStore.Backend, TierObjectStore.DataTypePathPrefix, TierObjectStore.FileType, TierObjectStore.ObjectMetadata, TierObjectStore.ObjectStoreMetadata, TierObjectStore.OpaqueData, TierObjectStore.TierStateRestoreSnapshotMetadata| Constructor and Description |
|---|
TierObjectStoreMetricsEnabled(TierObjectStore inner,
org.apache.kafka.common.metrics.Metrics metrics,
org.apache.kafka.common.utils.Time time) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
deleteSegment(TierObjectStore.ObjectMetadata objectMetadata) |
TierObjectStore.Backend |
getBackend() |
TierObjectStoreResponse |
getObject(TierObjectStore.ObjectStoreMetadata objectMetadata,
TierObjectStore.FileType objectFileType,
Integer byteOffset,
Integer byteOffsetEnd) |
TierObjectStore.OpaqueData |
prepPutSegment() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObject, getObjectpublic TierObjectStoreMetricsEnabled(TierObjectStore inner, org.apache.kafka.common.metrics.Metrics metrics, org.apache.kafka.common.utils.Time time)
public TierObjectStore.Backend getBackend()
getBackend in interface TierObjectStorepublic TierObjectStoreResponse getObject(TierObjectStore.ObjectStoreMetadata objectMetadata, TierObjectStore.FileType objectFileType, Integer byteOffset, Integer byteOffsetEnd) throws IOException
getObject in interface TierObjectStoreIOExceptionpublic TierObjectStore.OpaqueData prepPutSegment() throws TierObjectStoreRetriableException, IOException
prepPutSegment in interface TierObjectStoreTierObjectStoreRetriableExceptionIOExceptionpublic void putObject(TierObjectStore.ObjectStoreMetadata objectMetadata, File file, TierObjectStore.FileType fileType) throws TierObjectStoreRetriableException, IOException
putObject in interface TierObjectStoreTierObjectStoreRetriableExceptionIOExceptionpublic void putSegment(TierObjectStore.ObjectMetadata objectMetadata, File segmentData, File offsetIndexData, File timestampIndexData, Optional<File> producerStateSnapshotData, Optional<ByteBuffer> transactionIndexData, Optional<ByteBuffer> epochState) throws TierObjectStoreRetriableException, IOException
putSegment in interface TierObjectStoreTierObjectStoreRetriableExceptionIOExceptionpublic void deleteSegment(TierObjectStore.ObjectMetadata objectMetadata) throws IOException
deleteSegment in interface TierObjectStoreIOExceptionpublic void close()
close in interface TierObjectStore