class ExportsPurgeService {

    public void purgeExpiredFiles(String container) throws ContentAddressableStorageServerException {

        try (WorkspaceClient workspaceClient = this.workspaceClientFactory.getClient()) {
            workspaceClient.purgeOldFilesInContainer(
                container,
                new TimeToLive(this.timeToLiveInMinutes, ChronoUnit.MINUTES));
        }
    }

    public  ExportsPurgeService(int timeToLiveInMinutes);
    @VisibleForTesting public  ExportsPurgeService(WorkspaceClientFactory workspaceClientFactory,
        StorageClientFactory storageClientFactory, int timeToLiveInMinutes);

}