public class ObjectStoreUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ObjectStoreUtils.DeletionRecord |
Constructor and Description |
---|
ObjectStoreUtils() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getBackupObjectListNames(TierObjectStore objectStore,
String clusterId)
Gets the names of all the backup object lists from the object store
|
static Map<String,List<VersionInformation>> |
verifyObjectNotLive(TierObjectStore tierObjectStore,
TopicIdPartition topicIdPartition,
UUID objectId)
Verifies that the blobs uploaded under a given segment UUID are not live at the object store.
|
public static Map<String,List<VersionInformation>> verifyObjectNotLive(TierObjectStore tierObjectStore, TopicIdPartition topicIdPartition, UUID objectId)
tierObjectStore
- reference to the object storetopicIdPartition
- TopicIdPartition to which the blob belongedobjectId
- UUID for the segment in concernpublic static Set<String> getBackupObjectListNames(TierObjectStore objectStore, String clusterId)
objectStore
- reference to tier object storeclusterId
- id for the cluster, used to form the key path for object lists