Package com.github.ambry.cloud
Class DeprecatedContainerCloudSyncTask
- java.lang.Object
-
- com.github.ambry.cloud.DeprecatedContainerCloudSyncTask
-
- All Implemented Interfaces:
org.apache.helix.task.Task
public class DeprecatedContainerCloudSyncTask extends java.lang.Object implements org.apache.helix.task.Task
Helix task to get the deprecated containers information fromAccountService
and update it to cloud.
-
-
Constructor Summary
Constructors Constructor Description DeprecatedContainerCloudSyncTask(com.github.ambry.account.AccountService accountService, long containerDeletionRetentionDays, CloudDestination cloudDestination)
Constructor forDeprecatedContainerCloudSyncTask
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
org.apache.helix.task.TaskResult
run()
-
-
-
Constructor Detail
-
DeprecatedContainerCloudSyncTask
public DeprecatedContainerCloudSyncTask(com.github.ambry.account.AccountService accountService, long containerDeletionRetentionDays, CloudDestination cloudDestination)
Constructor forDeprecatedContainerCloudSyncTask
.- Parameters:
accountService
-AccountService
object.containerDeletionRetentionDays
- retention days for a deprecated container.cloudDestination
- theCloudDestination
object where deprecated container information will be updated.
-
-