Class AzureContainerCompactor


  • public class AzureContainerCompactor
    extends java.lang.Object
    Class that compacts containers in the Azure cloud by purging blobs of deprecated containers from ABS and Cosmos.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deprecateContainers​(java.util.Collection<com.github.ambry.account.Container> deprecatedContainers, java.util.Collection<java.lang.String> partitionIds)
      Update newly deprecated containers from deprecatedContainers to CosmosDb since last checkpoint.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • deprecateContainers

        public void deprecateContainers​(java.util.Collection<com.github.ambry.account.Container> deprecatedContainers,
                                        java.util.Collection<java.lang.String> partitionIds)
                                 throws CloudStorageException
        Update newly deprecated containers from deprecatedContainers to CosmosDb since last checkpoint.
        Parameters:
        deprecatedContainers - Collection of deprecatedd Containers.
        Throws:
        CloudStorageException - in case of any error.